Sha256: df44c6050590ba3228ce1404a4b75b99b326fd46db1f734d0839b6409dfebcaf

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 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-1.0.0 examples/sample6.rb