Comment on ASCII characters are not pixels: a deep dive into ASCII rendering
Alb@sh.itjust.works 1 day ago
This guy built an image-to-ASCII renderer.
This is so impressive!!!
Mesmerizing…
Comment on ASCII characters are not pixels: a deep dive into ASCII rendering
Alb@sh.itjust.works 1 day ago
This guy built an image-to-ASCII renderer.
This is so impressive!!!
Mesmerizing…
over_clox@lemmy.world 1 day ago
I made one myself many years ago for DOS, but mine renders in 512 pseudo halftone colors from a base palette of 16 colors. Results look pretty nice for whatever it’s worth, but yeah mine doesn’t focus on their efforts to get more crisp edges.
Still neat though, food for my thoughts even, should I ever revisit my old project.
Alb@sh.itjust.works 1 day ago
Yes you should, this would be awesome with a special focus on the crisp edges!
over_clox@lemmy.world 1 day ago
I’m not exactly sure how I’d incorporate both techniques into the same rendering system though.
My method doesn’t use letters, numbers or punctuation characters, mine uses the DOS mode block characters, blank space, 25%, 50%, 75% halftone characters, and the 100% solid block character.
I could probably get a little closer with my method if I add in the upper half block and lower half block characters, but when using those characters I’m no longer able to use the halftone dithering and would be limited to 8 background and 16 foreground colors…
I dunno where I’d really even start (over) again to use alphanumeric characters with my text rendering method…
Alb@sh.itjust.works 1 day ago
Maybe converting the DOS blocks to ANSI blocks. But i don’t know if this is feasible with your coding…
kora@sh.itjust.works 1 day ago
Would love to see your implementation. Have you considered making it public?
over_clox@lemmy.world 1 day ago
Sure, have at it!
Sorry it’s not a full complete dump with examples, but it’s programmed in QBasic 1.1 and converts raw RGB pixel data into equivalent closest matching color halftone onscreen characters. I designed it in mind with DOS text modes of either 80x25, 80x43, or 80x50 text modes, but I’m sure the technique can work with any text mode that can properly render the old DOS block characters. But, I’m betting that whatever device you’re using right now is almost certainly not configured to display the old DOS block characters as they were back in the day.
Good luck!
kora@sh.itjust.works 1 day ago
You are amazing. Thank you very much for delivering! Half of the fun is discovering how it works without examples so no need to apologise :^)
I need to look into running QBasic on my M4. Unsure about my options for now. Worst case scenario I spin up a VM tomorrow.