Class Programs and Activities

Window vs center (Cartesian) coordinates

1. Draw a X and Y axes for center (Cartesian) coordinates. The origin should be the center of the window. Add a tick mark every 50 pixels along each axis starting at the origin (0,0).

2.Create a program to use the coordinate conversion support functions. Print out the window coordinates for the following center (Cartesian) coordinates:

Draw a circle (or other graphics object) at each of the points.

3. Create a program to use the coordinate conversion support functions. Print out the center (Cartesian) coordinates for the following window coordinates: Draw a circle (or other graphics object) at each of the points.

4. Combine the previous two programs and draw a circle (or other graphics object) at each of the points.