Sha256: 3e40109d64580d257f254eedaaed85a648b73dd3bdbc3dfba1e9cbbf5d1244eb

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

require "sgl"

def setup
  window 200, 200
end

def display
  for a in 0..10
    for b in 0..10
      color a*10, b*10, b*10
      rect a*20+5, b*20+5, a*20+15, b*20+15
    end
  end
end

mainloop 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sgl-1.0.0 examples/sample7.rb