Sha256: d77f5e725dc3bf8f3910133066d5ccaa7eff1fd3936a5e9e1c544f88c1359f93

Contents?: true

Size: 715 Bytes

Versions: 50

Compression:

Stored size: 715 Bytes

Contents

# frozen_string_literal: true

c=circle({drag: true, id: :the_circle})

c1=c.color(:white).id
c2=c.color(:red).id
c3=c.color(:yellow).id
color({id: :my_col1, red: 1 , alpha: 0.5})
wait 0.5 do
  c.paint({ gradient: [c1,c2], direction: :left })
  wait 0.5 do
    wait 0.5 do
      c.paint({ gradient: [c1,c2], diffusion: :radial })
      wait 0.5 do
        cc= c.paint({ gradient: [c1,c2, c3], diffusion: :conic })
        wait 0.5 do
          # cc.delete(true)
          #   alert c.paint
          c.remove({all: :paint})
          # alert c.paint
          wait 0.6 do
            c.color(:red)
          end
          # c.paint({ gradient: [c3, c3], diffusion: :conic })
        end
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/application/examples/paint.rb
atome-0.5.7.5.9 vendor/assets/application/examples/paint.rb
atome-0.5.7.5.4 vendor/assets/application/examples/paint.rb
atome-0.5.7.5.3 vendor/assets/application/examples/paint.rb
atome-0.5.7.5.1 vendor/assets/application/examples/paint.rb
atome-0.5.7.4.8 vendor/assets/application/examples/paint.rb
atome-0.5.7.4.7 vendor/assets/application/examples/paint.rb
atome-0.5.7.4.6 vendor/assets/application/examples/paint.rb
atome-0.5.7.4.3 vendor/assets/application/examples/paint.rb
atome-0.5.7.4.2 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.9 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.6 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.5 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.3 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.2 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.1 vendor/assets/application/examples/paint.rb
atome-0.5.7.3.0 vendor/assets/application/examples/paint.rb
atome-0.5.7.1.8 vendor/assets/application/examples/paint.rb
atome-0.5.7.1.7 vendor/assets/application/examples/paint.rb
atome-0.5.7.1.0 vendor/assets/application/examples/paint.rb