RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

3D OSX Desktop Applications With Ruby-Processing

A two-part screencast series demonstrating two different 3D desktop applications using ruby-processing on JRuby. Source code by Preston Lee available on his GitHub account: Starfield.app and Twiverse.app.

Comments

Dangit.. here is the correct Screencast URL.preston - August 04, 2010 17:53
It says I just need Ruby 1.8 or 1.9, but I have the sneaking suspicion that I need JRuby... Somebody care to comment?seydar - August 05, 2010 00:41
"All that you need to get Ruby-Processing going is Ruby (1.8 or 1.9) and Java (1.5 or 1.6) — and your machine probably came with both of those baked-in."soandso - August 05, 2010 06:35
I wouldn't recommend the 1.8 MRI for anything requiring thread concurrency. The green threading implementation is ridiculously slow. JRuby, however, maps Ruby threads to native threads; In the Starfield.app example I've tried cranking it up to 500+ plus threads/stars just for fun, and despite making my CPU fan peg and being a bit sluggish, it does work.

JRuby and Processing are a very appealing combination. I hope that there is enough interest in 3D Ruby apps that we see some serious forward momentum, though it's always a bit shocking when you see some cool technology and discover you're the first one to make a Twitter client out of it. :)preston - August 07, 2010 20:13
Hold on – since when can you use Java from Ruby MRI?seydar - August 07, 2010 23:33
AFAIK you can't sanely use Jave from a pure MRI context. When running plain Ruby on JRuby, though, you have full access to your favorite Java libraries since it is, after all, just the JVM. :)preston - August 11, 2010 16:46

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:

<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>

Do NOT use <p> tags. Just use newlines :-)

a
l
M tits
l
G tits
o
c
a
t
e
n
L tits
i
l