Interactive animated algorithm step-through lessons
Short, interactive browser walkthroughs and prediction micro-lessons for classic algorithms, checked against reference solvers.
Contributors design small, surprising graph and sorting examples—such as a zero-weight transfer where fewest-hops and cheapest-fare paths disagree—and encode every step as a plain JSON trace. A reference algorithm verifies every state transition and tie rule before a teacher selects the clearest examples for an interactive browser player.
How one piece works
Pick a misconception
Choose an algorithm pair or edge case such as zero-weight edges, negative weights, or tied shortest paths.
Write one JSON trace
Encode a compact graph, step-by-step snapshots, plausible wrong answers, and a plain CC BY-SA explanation under 48 KB.
Reference solver checks steps
A program replays the reference algorithm to verify every single step and tie rule; an educator checks clarity.
What you would make
One declarative JSON trace and prediction question under 48 KB covering a small graph, step snapshots, distractors, and a short explanation.
What it becomes
An interactive computer-science lesson site where students predict what an algorithm will do in under a minute, scrub step by step, and embed exercises in classes.
Why it is worth doing
- Active one-minute prediction puzzles teach algorithms more effectively than passively watching generic animations.
- Decoupling verified JSON traces from rendering raised visualization reliability from 82.5% to 99.8% in the ALGOGEN study.
- Open algorithm sites draw large audiences: Algorithm Visualizer has 49,598 GitHub stars and CP-Algorithms has 11,571 stars.
- Declarative traces render in one shared browser player with zero contributed code running on servers.
How a piece is checked
A program validates JSON bounds, replays reference algorithms to check every single transition, tie branch, and final output, and blocks duplicate graphs. A teacher still checks whether the example illuminates a real misconception.
Before this can open
Reference transition verifiers for six to eight classic algorithms, a shared interactive browser trace player, and an embedded player for educator review.
Read more
- VisuAlgo interactive algorithm siteUniversity-built algorithm animation and quiz platform illustrating the classroom benchmark.
- Algorithm Visualizer repositoryMIT-licensed open-source web visualizer with 49,598 GitHub stars proving broad developer interest.
- CP-Algorithms community repositoryCC BY-SA 4.0 algorithms community with 11,571 GitHub stars authoring clear algorithm guides.
- ALGOGEN verifiable traces paperStudy showing verifiable JSON algorithm traces raise visualization reliability from 82.5% to 99.8%.
Ask us to open it
Tell us why you would like this project to open.



