Draw a Crescent

From Progzoo
Revision as of 15:59, 10 January 2008 by Andr3w (talk | contribs)
Jump to: navigation, search

You can draw a crescent as two circles. A large yellow circle that is partitally eclipsed by a smaller blue circle. The parameters are:

  • r1
    • radius of the large circle
  • r2
    • radius of the small circle
  • off
    • the offset - the distance between the circles' centres

Flagmalaysia.png

Model answer has 39 lines.


[Font] [Default] [Show] [Resize] [History] [Profile]