Sha256: e470cf8df65077e97f713c5b27a028cd440c328bd584e82da421318001833174
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true Shoes.app do background rgb(0, 0, 0) fill rgb(255, 255, 255) rects = [ rect(0, 0, 50, 50), rect(0, 0, 100, 100), rect(0, 0, 75, 75) ] animate(24) do rects.each do |r| r.move(rand(0..400), rand(0..400)) end end button "OK", top: 0.5, left: 0.5 do quit unless confirm "You ARE sure you're OK??" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.rc1 | samples/simple_anim_shapes.rb |