require 'jruby_art' class MySketch < Processing::AppGL def setup size 200, 200, P3D Processing::ArcBall.init(self) fill 200, 0, 0 stroke 0 end def draw lights background 0 box 100, 100, 100 end end MySketch.new(title: 'My Sketch')
Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0
Saturday, 4 October 2014
Simple ArcBall in JRubyArt running from netbeans
Things are moving fast here, now we can offer full arcball functionality with JRubyArt (and just one line of code for user!!!). Rotation via mouse drag, zoom with mousewheel.Interesting seems I can get rid of Processing:: prefix for arcball by "including Processing" in the AppGL class...
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
-
▼
2014
(79)
-
▼
October
(10)
- Toxiclibs (or any other processing library) as a r...
- For the next version of ruby-processing examples w...
- Sketch featuring Vec2D to_curve_vertex (JRubyArt)
- More progress with JRubyArt (Alternative ruby-proc...
- Transducers in ruby-processing
- Vec3D to shape vertex in JRubyArt
- JRubyArt shader sketch running from netbeans
- Simple ArcBall in JRubyArt running from netbeans
- Rubygems with latest JRubyArt
- Alternative Ruby-Processing implementation
-
▼
October
(10)
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