Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0

Thursday, 5 June 2014

Running the spec_test.rb in the processing ide

This is what happens when I run the specs_test sketch from processing ide:-
def setup
  size(100, 100, P3D)
  puts(Java::Processing::opengl::PGraphicsOpenGL.OPENGL_VENDOR)
  puts(Java::Processing::opengl::PGraphicsOpenGL.OPENGL_RENDERER)
  puts(Java::Processing::opengl::PGraphicsOpenGL.OPENGL_VERSION)
  puts(Java::Processing::opengl::PGraphicsOpenGL.GLSL_VERSION)
  puts(Java::Processing::opengl::PGraphicsOpenGL.OPENGL_EXTENSIONS)
end

Initially nothing seems to happen, but output to console happens on closure of the sketch (this is a temporary feature according to Fukuda-san)

No comments:

Post a Comment

Followers

Blog Archive

About Me

My photo
I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2