The code for the "A Mind is born" 256 byte Demo. It produces quite a neat music sequence and visuals. The code doesn't have a code equivalent but the binary version is understandable. This post is 256 bytes. https://linusakesson.net/scene/a-mind-is-born/
One of the first recursive algorithms I learned was the solver for the Tower of Hanoi problem. I was stunned about its simplicity, solving a problem most people couldn't with just a few lines of code:
Comments (380) 116 threads
Earlier commentshttps://en.wikipedia.org/wiki/The_Complexity_of_Songs
https://en.wikipedia.org/wiki/Generative_music
https://en.wikipedia.org/wiki/Repetitive_song
|>~~~<<<
https://en.wikipedia.org/wiki/E%3DMC2_(song)
https://genius.com/Big-audio-dynamite-e-mc2-lyrics
https://www.youtube.com/watch?v=cHTDkJ-bQqM
About 10 years later you would find this stuff everywhere in boost but for the time this was spectacularly elegant for C++
- https://en.wikipedia.org/wiki/Tower_of_Hanoi#Recursive_solut...
All comments shown.
Couldn't load more comments. Check your connection and try again.