5 ms·
This is awesome. I'm going to incorporate this into http://Artpacks.org http://Artpacks.org soon, if you don't mind! Now, only if there was a reliable JavaScri
by sjs382 11y ago
This is awesome. I'm going to incorporate this into http://Artpacks.org http://Artpacks.org soon, if you don't mind!
Now, only if there was a reliable JavaScript RIPScript interpreter. :)
- a1k0n 11y agoHaha, 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.
- sjs382 11y agoI 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 https://github.com/andyherbert/ripscript.js
- carl8 11y agoI 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.html http://carl.gorringe.org/pub/code/javascript/RIPview/ripview...
- deleted 11y ago[deleted]
- bane 11y agoOh awesome! I love artpacks and the app. Quick question, what did you use to render the ANSI art to images?
- sjs382 11y agoThere 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