News for hackers. Stuff that matters.
Re:Animated ASCII Art for Web Pages by karim79 on Thursday October 08, 2026 @07:17AM (#50004443)
What is the method to create these gorgeous scenes from source art/photography? Damn that's a rabbit hole I need to fall into.
Re:Animated ASCII Art for Web Pages by zeroq on Thursday October 08, 2026 @07:47AM (#50004681)
If you're asking about the ASCII alone then it's quite simple.

You resize the image to fit your text area dimension, then probe each pixel for luminance, and based on how bright the pixel is, you swap it for a ascii character that takes more or less space.

If you're asking about animation it's called color cycling and was quite popular back in the days where there was no space to pack a real animations: https://www.effectgames.com/demos/canvascycle/?sound=0