Sha256: 54806bd110adfad3ca9551694f61951ad298a784ef1268ea58a10f7bd6af3de8

Contents?: true

Size: 790 Bytes

Versions: 39

Compression:

Stored size: 790 Bytes

Contents

# frozen_string_literal: true

b=box({width: 300, height: 333, color: {alpha: 0}})
image({id: :logo,path: 'medias/images/logos/atome.svg', width: 66, left: 555})
grab(:black_matter).image({id: :planet,path: 'medias/images/red_planet.png', width: 66,height: 66,  left: 555, top: 180})


b.fill([atome:  :logo, width: 33, height: 33 ])
b.overflow(:hidden)
wait 1 do
  b.fill([atome:  :planet, width: 33, height: 33 ])
  wait 1 do
    b.fill([{atome:  :planet,repeat: {x: 5, y: 3}}])
    wait 1 do
      b.fill([{atome:  :planet,width: 33, height: 33 ,rotate: 33, size: { x: 800,y: 600 }, position: { x:-200,y: -200 } }])
      wait 3 do
        b.fill([{atome:  :planet,repeat: {x: 5, y: 3}}, { atome: :logo, width: 33, height: 33 ,  opacity: 0.3} ])
      end
    end
  end
end

b.drag(true)

Version data entries

39 entries across 39 versions & 1 rubygems

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