Re:ASCII 3D Renderer for JavaScript
by sukmaagung on Monday August 12, 2024 @02:32AM
(#41221661)
So, as long it uses only text, it can be called ASCII art, not just characters from space to tilde (or null to tilde)?
[ Parent
| on HN ]
Re:ASCII 3D Renderer for JavaScript
by mock-possum on Monday August 12, 2024 @04:09AM
(#41222240)
Colloquially, yes.
Its just 3 bits
white plus those 7 box art chars.
private Shade = '·┼╬'; [1]
Would have expected something more sophisticated, where the shader also looks at subpixels, where it gets the best matching char for the shape and brightness.
Like rastapasta map renderer did with the braille block:
https://github.com/rastapasta/mapscii
https://news.ycombinator.com/item?id=39975887
---
https://github.com/kciter/ascii-3d-renderer.js/blob/1f1a8493... [1]
Shades and Box art chars where never part of any ASCII standard. https://en.wikipedia.org/wiki/Code_page_437
Technically no ASCII but that's just for purists https://en.wikipedia.org/wiki/ASCII_art#%22Block_ASCII%22_/_...