Skip to project
03 — Learning through interactionCompleted

Algorithm Playground

ئەلگۆریتم

See the logic. Follow every step.

A Kurdish algorithm playground for sorting, searching, pathfinding and maze generation. Visual steps, pseudocode and statistics turn abstract procedures into something you can inspect.

Next.jsReactTypeScriptZustandCanvasTailwind CSS
Algorithm Playground / Product view
Algorithm Playground showing Quick Sort mid-run with highlighted pseudocode and playback controls
01 /Quick Sort in progress: the visual state and highlighted pseudocode share one learning workspace.
16Algorithms to explore
4Algorithm families
↔Step-by-step playback
01 / The idea

A reason to build.

The challenge

Reading pseudocode often hides the part that matters most: how the state changes from one operation to the next. Learners need a way to slow down, revisit a step and connect the code to its result.

The approach

Keep the visual state, pseudocode and statistics synchronized. Let visitors choose the input, control playback and experiment with the same idea on different arrays or grids.

02 / The experience

Made to be explored.

01

Four algorithm families

Explore six sorting, five pathfinding, three maze-generation and two searching algorithms.

02

Control the explanation

Play, pause, step forward or back, seek through the timeline and adjust speed while following the corresponding pseudocode.

03

Experiment with the input

Edit walls and weights, generate a maze and find a route. A separate Conway’s Game of Life simulation explores another kind of evolving system.

Algorithm Playground / Inside the experience
Algorithm Playground showing a generated maze solved using Dijkstra's algorithm
02 /A generated maze, solved with Dijkstra: the route and run statistics make the result inspectable.
03 / Under the surface

The thinking behind
the interface.

Design choices become useful when the system underneath supports them.

01

Recorded state transitions

Algorithm runs produce inspectable steps. Playback can revisit those states, keeping the visual explanation and pseudocode aligned rather than relying on a one-way animation.

02

Meaningful measurements

Algorithm-specific statistics expose comparisons, swaps, visited nodes and path cost. The interface makes the work performed by an algorithm visible.

03

An interactive grid

Canvas rendering supports walls, weighted cells and generated mazes. State management coordinates the chosen algorithm, input and playback controls.

Keep exploring / Next project
Experimental visual encoding

GlyphCode