Re:ASCII 3D Renderer for JavaScript
by mxfh on Monday August 12, 2024 @08:02AM
(#41223465)
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:
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_/_...