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.6.5.7 vendor/assets/application/examples/paint.rb
atome-0.5.6.5.6 vendor/assets/application/examples/paint.rb
atome-0.5.6.5.4 vendor/assets/application/examples/paint.rb
atome-0.5.6.5.1 vendor/assets/application/examples/paint.rb
atome-0.5.6.4.8 vendor/assets/application/examples/paint.rb
atome-0.5.6.4.5 vendor/assets/application/examples/paint.rb
atome-0.5.6.4.2 vendor/assets/application/examples/paint.rb
atome-0.5.6.4.1 vendor/assets/application/examples/paint.rb
atome-0.5.6.4.0 vendor/assets/application/examples/paint.rb
atome-0.5.6.3.9 vendor/assets/application/examples/paint.rb