home page icon Flash Bestiary / Circles / Yin Yang

Yin Yang

This program draws a Yin Yang (or Tai Chi) symbol, using a core function which draws partial circle arcs.

As the following illustration shows, the symbol is constructed from semi-circles. We use two different arc-drawing functions, one which draws in a clockwise direction, and one which draws counter-clockwise.

UPDATE: The source code below now contains an Actionscript 3 version, in addition to the original Flash MX code.


sourcecode iconDownload the flash project
book iconJim's Favorite Actionscript Books
wiki iconAsk Jim about Actionscript
Next: Yin Yang with Background

Having trouble opening the project? You may need to Upgrade to Flash CS3

Copyright © 2003,2008 by Jim Bumgardner. All Rights Reserved.        Leave Jim some feedback