Sha256: 9a36fe956637f712d0a62b41cfb4940aaac6f409cc761ab61b1f09391a3fc2aa

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_random_bubbles.rb