Sha256: b582e582b8826fccc449bebb58daf3b8aa8f4d780f22d54044b1a40591c12483

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

Shoes.app width: 300, height: 300 do
  10.times do |i|
    # light to dark
    flow(width: 0.5, height: 30){background forestgreen(0.1*(i+1)); para 'hello'}
    # dark to light
    flow(width: 0.5, height: 30){background orangered(1.0 - 0.1*i); para 'shoes'}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shoes-4.0.0.pre2 samples/simple-brightness-transitions.rb
shoes-4.0.0.pre1 samples/simple-brightness-transitions.rb