Sha256: f7913ec89318e7d2a8cfeb9542c9a27cd4c54d168b2ef887291e330bd8ea69b6

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 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-0.4.0 examples/sample7.rb