Skip to content

Web toy to visualize sorting algorithms with generative music

Notifications You must be signed in to change notification settings

bobbicodes/sort

Repository files navigation

bobbicodes/sort

Sorting visualization

Inspiration

Sound-of-Sorting, but with Mario Paint sounds instead of triangle waves.

I've made a certain effort to render these algorithms musically, i.e. the notes are restricted to the blues scale, and I attempt to create an instrumental counterpoint that reflects the sorting mechanics. I tried to strike a balance between it seeming "generative" enough as well as what I'd subjectively consider "pleasing", "interesting", and perhaps once in awhile "a little unexpected".

Try it!

Development mode

npm install
npx shadow-cljs watch app

start a ClojureScript REPL

npx shadow-cljs browser-repl

Building for production

npx shadow-cljs release app

About

Web toy to visualize sorting algorithms with generative music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published