4 ms·
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
by mxfh 2y ago
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://github.com/rastapasta/mapscii
https://news.ycombinator.com/item?id=39975887 https://news.ycombinator.com/item?id=39975887
---
https://github.com/kciter/ascii-3d-renderer.js/blob/1f1a8493bb26197e4e33f72d16f33158d450e167/src/renderer.ts#L20C1-L21C1 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 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_/_%22High_ASCII%22_style_ASCII_art_on_the_IBM_PC https://en.wikipedia.org/wiki/ASCII_art#%22Block_ASCII%22_/_...