Sha256: f962aed076f61f06e6ca7e8ea489bd5a73b0980211aeff64011148d550c7a3d5

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

b = box({ left: 12, id: :the_first_box, top: 30 })

b.touch(true) do
  b.alternate({ width: 33, color: :red, height: 33 , smooth: 0 }, { width: 66, color: :orange, blur: 8}, { height: 66, color: :green, smooth: 9, blur: 0})
end

c = circle({ left: 333 , top: 30})

c.touch(true) do
  alt = b.alternate(true, false)
  if alt
    c.color(:yellowgreen)
  else
    c.color(:orange)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
atome-0.5.6.7.8 vendor/assets/application/examples/alternate.rb
atome-0.5.6.7.7 vendor/assets/application/examples/alternate.rb
atome-0.5.6.7.6 vendor/assets/application/examples/alternate.rb
atome-0.5.6.7.5 vendor/assets/application/examples/alternate.rb
atome-0.5.6.7.4 vendor/assets/application/examples/alternate.rb
atome-0.5.6.7.3 vendor/assets/application/examples/alternate.rb