Some Chrome For Pjs
So, yeah, Processing.js. Big fans of Pjs in this vicinity. Doesn’t do all that Processing does (in the way of: video exports, 3-D, and plugin support) but it’s totally amazing what it does with a few K of JavaScript and a browser. This will wipe out the applet completely.
Rather than just link to it and yelp HOORAY!, I thought I’d keep Resig’s birthday jaunting along with some XUL chrome, designed to mimick the real Processing.
One great thing about this is that you can run this app if you have Firefox 3.
firefox -app /path/to/processor/application.ini
Processing.js is included in the app’s tarball. Just add Firefox or XULRunner.
I don’t know if anyone else has tried this yet. Don’t want to step on any toes. The git repo is open for contribs.
Now begin the comments …
Marcus
You know, this is the first time I’ve detected in your tone a faint whiff of… jealousy? ;)
_why
Oh, absolutely!
john
I’m in love.
I didn’t really think about the fact that since this code is quite portable, it’d be able to be shoved in just about any place that supports JavaScript/Canvas. There’s some word that people are looking to use this in AIR , as well.
I’m totally excited by what you’ve done here, it gives me so many ideas.
Bluebie
Wow! Awesome! I am a lover of processing too, but sometimes on my Macbook the java app can use an uncomfortable amount of CPU cycles being what is essentially a text editor. I’d rather see it implemented as an Air app than an XUL app myself, but other than that, how funky!
You rock _why!
Wally Glutton
Wow. This is like a coding version of photoshop tennis. Nearly 0-day chrome. ;)
Thank you both.
redsquirrel
Just a head’s up, I think there’s something a little off with your web server configuration: http://skitch.com/dave.hoover/mfee/404-not-found
o m g
_why + JohnResig == un-fucking-stoppable
ka2
under ubuntu hardy start it with “xulrunner —app /path/to/processor/application.ini”
proppy
Terrific, it even works remotly.
tnlogy
maybe it’s relevant to link to my hack for creating contextfreeart with javascript and svg?
javajosh.com
without the ability to record and play sound, applets (both flash and java) will have a lifeline. I agree though that this is a nice, portable way to describe rasters.
Maybe this will put pressure on Adobe to open source post-script (which is really the grandaddy of all display manipulation languages, and which by rights would be universal.)
413x
Wow, that’s fantastic stuff! After playing around with canvas some years ago, this will be even more fun. :)
Andrea270872
It is great. Thanks.
The only problem is that after I start a program it does not stop :( So I have to kill the XUL application and re-run it… any idea why?
Comments are closed for this entry.