Welcome to this page of algorithm and data structure animations! Choose any of the sub-pages below to learn about algorithms with the help of web visualisations. Click on ▶ to start animations, on ⏸ to pause them, and use ⏮ or ⏭ to change the animation speed.

Graphs

Trees

Sorting

Misc

About the author

Chris Laux has been a programmer for many years, lately working with JavaScript, Go and Python. His interest in programming started in childhood when he discovered BASIC and Pascal for MS DOS. He believes the static display of algorithms and data structures in conventional textbooks and web pages can be much improved using modern animation techniques. He lives in the town of Nürnberg, Germany.

How these pages are made

The main ingredient to make the animations work is svg.js, a JavaScript library that allows for vector animations in HTML5. We also use Lektor, a static CMS, to build the entire site in two languages.

Please consider sharing this site on social media!