I coded a simulation in Unity which spawns bouncy blocks to represent piano notes so the physics can make music. I get a similar feeling like staring at a campfire when I watch this. It was a fun AI project to make sure that all the constraints I wanted were met. There is a lot of room to improve it, my approach ended up being a pretty brute force search for the best bounce trajectory based on the future camera position. I also included penalties for crossing the path of another ball because they could get bunched up and not find any valid moves.
It would be super cool if I could have the impact velocity match the music note volume in a future design. I'm excited by the possibilities of improving generative visualizations like this for future videos!