Sha256: 5779c4b376f133834b78a6f9dfe73987fbb28c84d1bcd35ea76270f232196cc4

Contents?: true

Size: 1.54 KB

Versions: 17

Compression:

Stored size: 1.54 KB

Contents

# frozen_string_literal: true

b = box({ top: 166, id: :the_box, left: 333 })
b.color({ id: :new_col, red: 1 })

b.touch(true) do
  # alert b.color
  b.remove(:box_color)

  # alert b.color
  wait 1 do
    grab('box_color').red(1)
  end
end
# b.color({id: :other_col,  green: 1})
# # b.paint({gradient: [:other_col, :new_col]})
# color({id: :last_col,  green: 0.3, blue: 0.5})
# color({id: :last_col2,  red: 1, blue: 0.5})
#
# b.shadow({
#            id: :s1,
#            # affect: [:the_circle],
#            left: 9, top: 3, blur: 9,
#            invert: false,
#            red: 0, green: 0, blue: 0, alpha: 1
#          })
#
#
# wait 1 do
#   b.remove(:other_col)
#   wait 1 do
#     b.remove(:new_col)
#     wait 1 do
#       b.remove(:box_color)
#
#       wait 1 do
#         b.apply(:last_col)
#         wait 1 do
#           b.apply(:last_col2)
#           b.remove(:s1)
#         end
#       end
#     end
#   end
# end
# b.touch(true) do
#   b.shadow({
#              id: :s1,
#              # affect: [:the_circle],
#              left: 9, top: 3, blur: 9,
#              invert: false,
#              red: 0, green: 0, blue: 0, alpha: 1
#            })
#
#   puts "before => #{b.apply}"
#   b.remove({all: :color})
#   puts "after => #{b.apply}"
#   wait 1 do
#     b.paint({id: :the_gradient_1,gradient: [:box_color, :circle_color]})
#     b.paint({id: :the_gradient,gradient: [:other_col, :new_col]})
#     wait 1 do
#       b.remove(:the_gradient)
#       wait 1 do
#         b.remove(all: :shadow)
#         b.color(:cyan)
#       end
#     end
#   end
# end
#

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
atome-0.5.7.6.5 vendor/assets/src/medias/utils/examples/particles/remove/example.rb
atome-0.5.7.6.0 vendor/assets/application/examples/remove.rb
atome-0.5.7.5.9 vendor/assets/application/examples/remove.rb
atome-0.5.7.5.4 vendor/assets/application/examples/remove.rb
atome-0.5.7.5.3 vendor/assets/application/examples/remove.rb
atome-0.5.7.5.1 vendor/assets/application/examples/remove.rb
atome-0.5.7.4.8 vendor/assets/application/examples/remove.rb
atome-0.5.7.4.7 vendor/assets/application/examples/remove.rb
atome-0.5.7.4.6 vendor/assets/application/examples/remove.rb
atome-0.5.7.4.3 vendor/assets/application/examples/remove.rb
atome-0.5.7.4.2 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.9 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.6 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.5 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.3 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.2 vendor/assets/application/examples/remove.rb
atome-0.5.7.3.1 vendor/assets/application/examples/remove.rb