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

Version Path
green_shoes-1.0.337 samples/sample26.rb
green_shoes-1.0.331 samples/sample26.rb
green_shoes-1.0.322 samples/sample26.rb
green_shoes-1.0.320 samples/sample26.rb
green_shoes-1.0.309 samples/sample26.rb
green_shoes-1.0.303 samples/sample26.rb
green_shoes-1.0.282 samples/sample26.rb
green_shoes-1.0.273 samples/sample26.rb
green_shoes-0.263.0 samples/sample26.rb
green_shoes-0.255.0 samples/sample26.rb
green_shoes-0.243.0 samples/sample26.rb
green_shoes-0.233.0 samples/sample26.rb
green_shoes-0.227.0 samples/sample26.rb
green_shoes-0.226.0 samples/sample26.rb
green_shoes-0.221.0 samples/sample26.rb
green_shoes-0.214.0 samples/sample26.rb
green_shoes-0.207.0 samples/sample26.rb
green_shoes-0.201.0 samples/sample26.rb
green_shoes-0.198.0 samples/sample26.rb
green_shoes-0.189.0 samples/sample26.rb