Dancing Markovs
These are some fun little projects by Tero Parviainen: animated visualizations of musical Markov chains of the music that the Markov chains are generating.
If you’ve wondered just how Markov chains work, this is a good way to learn about them: each node represents a note, and it has arrows pointing to the other notes that could be played next. After each note, it chooses randomly between the arrows. That’s the simple concept that’s behind every Markov chain, but they’re not usually visualized as plainly as this.
Dancing Markov Gymnopédies: https://codepen.io/teropa/pen/bRqYVj
Dancing Markovs: Play it yourself edition: https://codepen.io/teropa/full/JJNKxW/