Fun with Circles

It doesn’t do a great deal other than generate circle arcs or segments, but does demonstrate how to:

  • Draw an arc on a canvas – uses the for each number rather than a timer, seems to work much faster – see “DrawSegment” procedure, 2nd if/then (this was before the new arc block arrived!)
  • Draw a segment on a canvas
  • Rotate a segment on a canvas – 0 degrees may not be where you want it
  • Change colour of segments
  • Save canvas to image
  • Use of spinner hack to always use top selection on display

SCREENS