ThinkViz LogoThinkViz
Interactive AI Algorithm Visualizer

Visualize. Understand. Think like AI.

Explore AI search algorithms, game decision trees, and optimization methods step-by-step with real-time state metrics and pseudocode tracking.

Step-by-step
Playback Controls
Real-time
Algorithm Metrics
Explanation
Pseudocode Highlights
Educational
Zero External Friction
A* Search Visualization
Step 14 of 24
Interactive visualization
Start / Goal Visited Frontier Path Obstacle
Start
Goal
Nodes explored14
Current cost g(n)6.41
Estimated total f(n)8.82

Explanation & Pseudocode

Step 14:

Evaluating node (2, 3) with minimum estimated cost f(n) = 8.82. Checking adjacent unvisited neighbors.

// A* Search main loop
1. openSet = PriorityQueue()
2. openSet.push(startNode, f=0)
3. current = openSet.popMin()
4. if current == goal: return reconstructPath()
5. for neighbor in current.getNeighbors():
tentative_g = g[current] + cost
if tentative_g < g[neighbor]:
updateCostsAndPriority(neighbor)
Playback controlsSpeed: 1x

Learning Methodology

How ThinkViz works

Designed for intuition. Move beyond static diagrams and step through algorithms dynamically.

Step 1

Select an algorithm

Choose from graph search, heuristic pathfinding, local optimization, or adversarial game decision trees.

Step 2

Step through execution

Pause, step forward or backward, and inspect active nodes, priority queues, and line-by-line pseudocode.

Step 3

Analyze metrics

Track nodes visited, cost functions, memory bounds, and execution state in real time.

Algorithm Domains

Explore by category

Structured modules covering classical search, heuristic pathfinding, and game trees.

Start exploring AI algorithms

Step through search and optimization algorithms interactively. Build intuitive understanding for coursework and exams.