3 ms·
Anything that would preclude one from making a similarly-robust HTML5 (Canvas2D) ASCII editor? Font rendering wouldn't even be required. Static bitmap sprite d
by ArtWomb 8y ago
Anything that would preclude one from making a similarly-robust HTML5 (Canvas2D) ASCII editor?
Font rendering wouldn't even be required. Static bitmap sprite data in a predefined grid cell layout would suffice. With fore and background color altered via fast pixel manipulation using pre-allocated array buffers. Memory usage, on large canvas areas, might be the only prohibitive issue ;)
I use the wonderful Piskel 2D sprite drawing tool. And it can handle sizable frame counts at 1024x1024 resolution.
https://www.piskelapp.com/ https://www.piskelapp.com/
- yoklov 8y agoNothing prevents it beyond awkward save/load semantics in the browser. Webgl acceleration would be fairly trivial (to one familiar with opengl) if necessary as well.
- myhf 8y agoHere's a Canvas2D-based viewer for REXPaint files: http://jjclark1982.github.io/rex-viewer/ http://jjclark1982.github.io/rex-viewer/ Adding an editing interface is left as an exercise for the reader.
- itukeitto 8y agoAs a matter of fact, there's already one out there! I've been contributing some code. It's called glyphdrawing.club and is a lot of fun. No colors yet, but they are coming next. Check it out: https://glyphdrawing.club/ https://glyphdrawing.club/ https://github.com/hlotvonen/glyph-drawing-club https://github.com/hlotvonen/glyph-drawing-club