Sha256: ed065bd6f7015c270f34a035d2845e874dd02c8e1d211be8c686f42719a15057
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
require 'ruby-processing' class DrawingAContinuousLine < Processing::App def setup background 255 smooth end def draw stroke 0 # Draw a line from the previous mouse location to the current location. line pmouse_x, pmouse_y, mouse_x, mouse_y end end DrawingAContinuousLine.new :title => "Drawing A Continuous Line", :width => 200, :height => 200
Version data entries
4 entries across 4 versions & 1 rubygems