Sha256: 103e11bd348cd7bfd8f21829594a304f4a4c8752ce390734acf5b1a84cd03bbe

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 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.rc1 samples/simple_animate.rb