Algorithm Simulator

Level select screen It seems like there’s a simulator for everything, whether it be flights, goats, or yandere. But have you ever wondered what it feels like to be a sorting algorithm‽ No? Well, now you can find out anyways! In Algorithm Simulator, inspired by Timo Bingmann’s widely viewed 15 Sorting Algorithms in 6 Minutes, you control an algorithm operating on an array, trying to sort as fast as possible. With ten different levels, a cool visualization, and sound effects, you can fulfill your sorting dreams…

Play the demo on the repository’s GitHub Pages (large download warning: ~5 MB gzipped). It requires a desktop browser with support for WebAssembly and WebGL. Use it to make a lecture a little more interesting, study for your sorting algorithms certification, or annoy the neighbors with the sound…