*`SimpleDraw.java` Responds to mouse events and draws primitives in 2D canvas.
*`ClosestPointDemo.java` Computes distance from mouse to closest point on line using algorithm discussed in class. Also uses built-in method to accomplish same thing.
*`ClosestPoint.java` Computes distance from mouse to closest point on line using algorithm discussed in class. Also uses built-in method to accomplish same thing.
*`PolygonHittestDemo.java` Uses built-in method to hit-test closed polygon.
*`PolygonHittest.java` Uses built-in method to hit-test closed polygon.
*`Transform1.java` Shows how to "manually" transform a shape model. NOTE: in practice, you don't want do this. Use Graphics2D matrix tranformations instead.
<!-- TransConcatDemo Demo of different concatenation orders of matrix transforms using
MyShape class. Click the window to change the order.
*`Transform2.java` Shows how to use Graphics2D matrix tranformations to transform a shape model.
RotateLine Use transformations to rotate line
*`CompositionOrder` Demo of different concatenation orders of matrix transforms. Click the window to change the order.
*`BarExercise` Demo of multiple transformation exercise.
RotateTriangle1 Animates a triangle rotating around a circle using transformations. -->