Sha256: e9f4c0c6cef815e30dea4ccabfad412dbee23963e865260b9895fdcde919a33d

Contents?: true

Size: 257 Bytes

Versions: 1

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true
Shoes.app do
  fill goldenrod
  stroke tomato
  strokewidth 6
  oval 200, 100, 360, 360
  animate 24 do |frame|
    left = 200 + Math.sin(frame) * 80
    top  = 100 + Math.cos(frame) * 80
    oval left, top, 360, 360
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre12 samples/simple_animate.rb