Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh awesome! I love artpacks and the app. Quick question, what did you use to render the ANSI art to images?


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/

[1] https://github.com/ansilove/ansilove

[2] https://github.com/ansilove/AnsiLove-C

[3] https://github.com/textmodes/piece

[4] https://github.com/cwensley/Pablo.Gallery




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: