attr_reader :pg def setup size(200, 200, P2D) @pg = create_graphics(100, 100, P3D) smooth(8) end def draw background 50 pg.begin_draw pg.background 150 pg.stroke 255 pg.stroke_weight 3 pg.translate(50, 50, 0) pg.rotate_y 0.45 pg.no_fill pg.box(40) pg.end_draw image(pg, width / 2 - 50, height / 2 - 50) end
Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0
Friday, 31 May 2013
A little offscreen buffer test with ruby-processing-2.0
A little sketch from the processing discussion board, makes me think that I should revive lazydogs mirror sketch for ruby-processing-2.0, now that would be cool.
Subscribe to:
Post Comments (Atom)
Followers
About Me
- monkstone
- I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2
No comments:
Post a Comment