Skip to content
This repository was archived by the owner on Dec 3, 2026. It is now read-only.
OfadimanPublic archive

Repository files navigation

Algorithm Visualizer

Explore ten classic algorithms in 3D. Play, pause, step through, or rewind each run. Drag the scene or focus it and use the arrow keys to rotate. On a touchscreen, tap Rotate scene first.

  • Sorting. Quick Sort, Merge Sort, Heap Sort, Insertion Sort, Selection Sort, and Bubble Sort share one randomized dataset so you can compare them on the same input.
  • Graph search. Breadth-First Search, Depth-First Search, Dijkstra’s Algorithm, and A* Search run on weighted graph presets. Choose a start and goal, then follow the frontier, visit order, and final path.

Screenshots

Algorithm catalog

Each entry gives you a short explanation of the algorithm’s strategy before you open it.

Algorithm Visualizer home page with the 3D preview and all ten catalog entries

Sorting playback

Bubble Sort highlights the two bars it’s comparing. The counters show the comparisons and swaps so far.

Bubble Sort paused on a comparison, with two amber bars and playback controls

Weighted graph search

On the weighted detour graph, Dijkstra’s Algorithm reaches the goal in four edges at a total cost of six.

Dijkstra’s Algorithm showing the lowest-cost path in green, with the visit order and total cost beside it