show require 'ruby2d' set title: "Interactive Sketch"
500.times particles << Particle.new(rand(800), rand(600)) ruby sketch
@x = 0 @square = Square.new(x: 0, y: 200, size: 50, color: 'red') show require 'ruby2d' set title: "Interactive Sketch" 500
show require 'ruby2d' set title: "Interactive Sketch"
500.times particles << Particle.new(rand(800), rand(600))
@x = 0 @square = Square.new(x: 0, y: 200, size: 50, color: 'red')