Sha256: 25ee87a7b615b70c0a3bf3084456b693fdb99df0ffad119bc443817a11f12b04
Contents?: true
Size: 345 Bytes
Versions: 10
Compression:
Stored size: 345 Bytes
Contents
# Width and Height. # # The 'width' and 'height' variables contain the width and height # of the display window as defined in the size() function. def setup size 640, 360 background 127 no_stroke (0...height).step(20) do |i| fill 0 rect 0, i, width, 10 fill 255 rect i, 0, 10, height end end def draw end
Version data entries
10 entries across 10 versions & 1 rubygems