Sha256: 4dd26306143a66331411738f6f2cd524c3229c317dd4a459e11e6164245da7a4

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

require "sgl"

def setup
  window 200, 200
end

def display
  for a in 0..200
    color a/2, 50, 50
    if a < 100
      line a, 50, a, 100
    else
      line a, 100, a, 150
    end
  end
end

mainloop 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sgl-0.4.0 examples/sample6.rb