pouët.net

Go to bottom

javascript ripscrip interpreter?

category: gfx [glöplog]
 
I have been incredibly unfruitful since I started college; no better example of this than the fact that I have been here for years, can code, and yet I have not made a single demo.

One time many months ago I thought, hey, it should be simple enough to throw together a ripscrip renderer for canvas... and do it in Glorious High Definition™ since ripscrip is basically vector art. Never got passed converting meganums and I do not know what I did with the code that did that... but I am sure even that was a waste as either ECMAscript "stdlib" has function to parse numbers with custom radixes, and if not surely someone has already made one.

In fact, maybe someone out there has already did an HTML5 ripscrip interpreter; if so, where is it? if not, would one of you less lathargic/disillusioned with life&school folk make one?
added on the 2012-06-27 03:11:34 by QUINTIX QUINTIX
>has already did
>has function
And suddenly I am twelve.
added on the 2012-06-27 03:14:50 by QUINTIX QUINTIX
havent heard of one but you could easily port if from random converters with open source like this one
not sure how reliable that one is though, never used it.
added on the 2012-06-27 11:15:36 by psenough psenough
Quote:
either ECMAscript "stdlib" has function to parse numbers with custom radixes


Code:parseInt('jsyk', 36) 923996

(in fact, *not* using the radix argument on parseInt will tend to screw you up, because then numbers with leading zeros are treated as octal. With hilarious consequences.)
added on the 2012-06-27 11:17:44 by gasman gasman
i lol when that happens.

login

Go to top