3 ms·
There are a lot of libraries to do this. I use ansilove.js[0], which renders to canvas, so I save on the expense of keeping 10G of rendered images online (at t
by sjs382 11y ago
There are a lot of libraries to do this. I use ansilove.js[0], which renders to canvas, so I save on the expense of keeping 10G of rendered images online (at the expense of my users compute times).
Ansilove.js is a variant of Ansilove, which was originally written in PHP [1], but has been ported to other languages [2], too.
There are a bunch of other renderers too like piece [3] and Pablo [4].
[0] http://andyherbert.github.io/ansilove.js/ http://andyherbert.github.io/ansilove.js/
[1] https://github.com/ansilove/ansilove https://github.com/ansilove/ansilove
[2] https://github.com/ansilove/AnsiLove-C https://github.com/ansilove/AnsiLove-C
[3] https://github.com/textmodes/piece https://github.com/textmodes/piece
[4] https://github.com/cwensley/Pablo.Gallery https://github.com/cwensley/Pablo.Gallery