algorithm visualizer

Watch search algorithms think.

searchviz animates how classic search strategies explore a problem — from a one-dimensional array scan to pathfinding through a generated maze to backing values up a game tree. Every algorithm is a typed TypeScript generator, so the same engine drives the animation, the metrics, and step-by-step playback.

2D · graph search

Pathfinding

BFS, A*, Dijkstra, bidirectional and local search racing across a maze or weighted terrain.

Open →
1D · lookup

Array search

Twelve sorted-array searches from linear to fibonacci, with a live elimination window and pseudocode.

Open →
adversarial · trees

Game tree

Minimax, alpha-beta pruning, and and-or contingency search backing values up a game tree.

Open →