Sha256: 2c56fd1e678b690c51e305388b8796102e81f75ca3a2a3098e4a6ae0dc696b61

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

class Range
  def rand
    Random.new.rand self
  end
end

Shoes.app width: 300, height: 400 do
  fill rgb(0, 0.6, 0.9, 0.1)
  stroke rgb(0, 0.6, 0.9, 0.3)
  strokewidth 1
  100.times do
    oval left: rand(-30..width), top: rand(-30..height), diameter: rand(25..100)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-4.0.0.pre2 samples/sample3.rb
shoes-4.0.0.pre1 samples/sample3.rb