I wrote up how my terminal music visualizer works.
The blog post builds a small Gibson from Hackers (1995) in Lua: Braille dots as pixels, a camera, a city from a hash function, glass from background colors and a kick detector. Fewer than 300 lines, and you can run it after each step.
The blog post, every step also runs on the page:
https://konstantin-denerz.com/build-the-gibson-in-your-terminal/
The code, one file per step, MIT licensed:
https://github.com/konstantindenerz/article-cliamp-visualizer
GitHub - konstantindenerz/article-cliamp-visualizer: Code for my blog post: a small cliamp visualizer in six steps
Build the Gibson in Your Terminal · Konstantin Denerz