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

This is awesome. I'm going to incorporate this into http://Artpacks.org soon, if you don't mind!

Now, only if there was a reliable JavaScript RIPScript interpreter. :)



Haha, sure, let me push some fixes to the github repo.

RIP script, OMG. I remember that. With HTML canvas, shouldn't be too hard, though it would be weirdly high-resolution.


I definitely won't be implementing the tracker code anytime in the immediate future. Maybe in a month?

Andy Herbert started a ripscrip interpreter that renders to canvas, but it isn't finished and definitely isn' reliable for artscene files. He doesn't intend to finish it, last I heard. https://github.com/andyherbert/ripscript.js


I tried writing a RIPscript generator in javascript a few years ago. I thought it would be easy, but it's surprisingly not.

It's unfinished, but here it is if you'd like to try it out: http://carl.gorringe.org/pub/code/javascript/RIPview/ripview...


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: