Post by Peter Cooper on February 29th, 2008
Using the Processing Graphics System from Ruby

- Profligacy: Easier Swing GUI layouts with JRuby
- NetBeans 6.0 Beta 1 Released (Ruby Edition available)
- How Dr Nic Packages His Ruby Code With RubyGems



Processing is a popular, open source graphics framework and programming language. It's used by thousands of artists, researchers, and students to put together graphics-focused applications, art, and other visual experiments. It's like a more powerful NodeBox, if you're familiar with that project.
Processing typically relies on scripts written in Java, but now, thanks to JRuby, it's possible to interact with the Processing framework directly from regular Ruby code. You're going to need a fully working JRuby installation for this, and it seems to have only been tested on OS X (which I've also tested it on - it works well!), but the interface code, along with two examples, are available at The Shoebox. If you want to put together quirky art apps, graphical experiments, or just doodle around, it's well worth trying.
(Many thanks to John Weir - who was, at one time, working on something similar called Dynamite - for the pointer to this new project.)

Click here to add on del.icio.us
Tweet This









February 29th, 2008 at 3:26 pm
I also have a very-beta JRuby Processing library, here: http://code.google.com/p/jankity/
Good doodlings to all!