Amazing post, I didn’t think this through a lot, but since you are normalizing the vectors and calculating the euclidean distance, you will get the same results using a simple matmul, because euclidean distance over normalized vectors is a linear transform of the cosine distance. Since you are just interested in the ranking, not the actual distance, you could also consider skipping the sqrt. This gives the same ranki…
It's stuff like this I would have loved to know when I was doing game engine dev in the 90s.
ASCII characters are not pixels: a deep dive into ASCII rendering
71–80 of 158 posts
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#72Wait...wh...why?!? Of all the things, actual pictures of the planet Saturn are readily available in the public domain. Why poison the internet with fake images of it?
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#73> I don’t believe I’ve ever seen shape utilized in generated ASCII art, and I think that’s because it’s not really obvious how to consider shape when building an ASCII renderer. Not to take away from this truly amazing write-up (wow), but there's at least one generator that uses shape: https://meatfighter.com/ascii-silhouettify/ See particularly the image right above where it says "Note how the algorithm selects the…
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#74The display mode is actually a hacked up 80x25 text mode. So in that specific narrow case, you have a display mode where text characters very much function as pixels.
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#75Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#76Are you planning to release this as a library or a tool, or should we just take the relevant MIT licensed code from your website [4]?
[0] https://aleyan.com/projects/ascii-side-of-the-moon
[1] https://news.ycombinator.com/item?id=46421045
[2] https://en.wikipedia.org/wiki/Lunar_mare
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#77This is amazing all round - in concept, writing, and coding (both the idea and the blog post about it). I feel confident stating that - unless fed something comprehensive like this post as input, and perhaps not even then - an LLM could not do something novel and complex like this, and will not be able to for some time, if ever. I’d love to read about someone proving me wrong on that.
Of course it likely still needs a skilled pair of eyes and a steady hand to keep it on track or keep things performant, but it's an iterative process. I've already built my own ASCII rendering engines in the past, and have recently built one with a coding model, and there was no friction.
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#78Lucas Pope did a really nice write up on how he developed his dithering system for Return of The Obra Dinn. Recommended if you also enjoyed this blog post.
https://forums.tigsource.com/index.php?topic=40832.msg136374...
Re: ASCII characters are not pixels: a deep dive into ASCII rendering
#79However, there might still be room for competition, heh. I always wanted to do this on the _entirety_ of Unicode to try getting the most possible resolution out of the image.