Sha256: f2aeed7c3cbe11df36a89236892dcb8d6af951b6072588bb84aaf602061fb231
Contents?: true
Size: 539 Bytes
Versions: 4
Compression:
Stored size: 539 Bytes
Contents
require 'ruby-processing' class ManyLines < Processing::App def setup background 255 # Legs stroke 0 line 50, 60, 50, 80 line 60, 60, 60, 80 line 70, 60, 70, 80 line 80, 60, 80, 80 line 90, 60, 90, 80 line 100, 60, 100, 80 line 110, 60, 110, 80 line 120, 60, 120, 80 line 130, 60, 130, 80 line 140, 60, 140, 80 line 150, 60, 150, 80 end def draw end end ManyLines.new :title => "Many Lines", :width => 200, :height => 200
Version data entries
4 entries across 4 versions & 1 rubygems