Coloring directions

I. Cnop
Vrije unitiversiteit Brussel
icnop@vub.ac.be

Loading the package

<<Graphics`ArgColors`

For students that are not familiar with complex notations it is easy to hide these and start from a naive understanding of direction:

Choosing directions

These are given by unit vectors unit(0), unit (1), ...  from the origin in the plane. 
Tell the computer how many you want: choose a number "mynumber" of directions in the plane and click the cell.

mynumber = 27;

unit(
        k_) := (E^(((2 π I k)/mynumber)))

Next we plot the endpoints in color. 
Click the next cell to see the result.

Show[
	Graphics[
		Table[
   			{ArgColor[unit[j]],
   				Disk[{Re[unit[j]], Im[unit[j]]}, 0.06]},
  		 {j, mynumber}]
  		 , AspectRatio -> Automatic
  		]
  	]