Sha256: 3617f4c4b59e49a80829e7f920c1d9cc57b010faf065d95823df82a6084e174b
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 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.pre12 | samples/simple_random_bubbles.rb |