Sha256: 679fa481fe44cd44a38150cfbe155226e1e6a5c72036c361960ea3e90e6dffa4

Contents?: true

Size: 170 Bytes

Versions: 10

Compression:

Stored size: 170 Bytes

Contents

def setup
  size(400, 400, P3D)  
  no_loop
end

def draw
  background(255, 0, 0)
  ellipse(mouse_x, mouse_y, 100, 50)
  puts("draw")  
end

def key_pressed
  redraw
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-processing-2.6.3 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.6.2 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.6.1 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.6.0 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.5.1 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.5.0 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.4.4 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.4.3 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.4.2 samples/processing_app/demos/tests/redraw_test.rb
ruby-processing-2.4.1 samples/processing_app/demos/tests/redraw_test.rb