Ruby Manor 2 - Manor Harder.
"The Joy of painting with Ruby"
A talk on using the ruby-processing library, a wrapper for the visual programming language processing.
10. Ruby-Processing is a Ruby
wrapper for the Processing
code art framework.
It's this thin little shim that
squeezes between Processing
and JRuby
http://github.com/jashkenas/ruby-processing
29. class MyArt < Processing::App
def setup
# called once
end
def draw
# called every ‘frame’
end
end
MySketch.new :title => "My Sketch",
:width => 800,
:height => 600