Sha256: d45ed659f85b22ccb801898193de58ff1987982b9d2f08660bca7b84ebb17f27
Contents?: true
Size: 501 Bytes
Versions: 6
Compression:
Stored size: 501 Bytes
Contents
# # From ashbb's shoes_hack_note #003 # http://github.com/ashbb/shoes_hack_note/blob/master/md/hack003.md # Shoes.app :width => 200, :height => 200, :title => 'Pulse!' do pulse = stack logo = image "shoes-icon-blue.png", :top => 30, :left => 30 animate 10 do |i| i %= 10 pulse.clear do fill black(0.2 - (i * 0.02)) strokewidth(3.0 - (i * 0.2)) stroke rgb(0.7, 0.7, 0.9, 1.0 - (i * 0.1)) oval(logo.left - i, logo.top - i, logo.width + (i * 2)) end end end
Version data entries
6 entries across 6 versions & 2 rubygems