Sha256: e27ce6ef13f93791ffa0e1632c988b7417437637493bb031f301b1cdc59475ec
Contents?: true
Size: 438 Bytes
Versions: 27
Compression:
Stored size: 438 Bytes
Contents
require '../lib/green_shoes' Shoes.app width: 450, height: 150 do background black strokewidth 4 paint_lines = proc do 20.times do |i| stroke rgb((0.0..0.5).rand, (0.0..1.0).rand, (0.0..0.3).rand) line 0, i * 5, 400, i * 8 end end s = stack do mask do title strong("<span size='#{82*1024}'>Shoes</span>"), left: 50 end end animate(5){s.clear{paint_lines.call}} end
Version data entries
27 entries across 27 versions & 1 rubygems