Sha256: f22eef883c00f7f7de2535750665aca379d653fe4313b7c2d099899fec1135d8

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true
Shoes.app do
  @o = oval top: 0, left: 0,
            radius: 40

  stack margin: 40 do
    title "Dancing With a Circle"
    subtitle "How graceful and round."
  end

  motion do |x, y|
    @o.move width - x, height - y
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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