# Helloworld

class Helloworld < Processing::App

  def setup
    color_mode RGB, 1.0
    fill 0.8, 0.6
    smooth
    # how do I make an array of a specified length?   
  end
  
  def draw
    triangle( rand(width), rand(height),
              rand(width), rand(height),
              rand(width), rand(height) )
  end
  
end

Helloworld.new(:title => "Helloworld",
               :width => 1024, :height => 600, 
               :full_screen => true)

# Local Variables:
# compile-command: "./rp5 run ruby-processing-helloworld.rb"
# End:


