- it uses a Java GUI
- it has a button labeled Clear to clear the drawing screen
- it instructs the user to click on the screen to set vertices for a convex polygon and draw big dots where the vertices are
- when the user clicks sufficiently near the first dot, the polygon is closed
- it reports the perimeter and area of the polygon
- it allows the user to scale (make larger or smaller) or rotate the polygon using GUI controls
- it uses a Matrix library that the student writes and affine transformations as shown in class to accomplish the scaling and rotating
- it updates the perimeter and area of the polygon as the user changes the scale
I'd get started now if I were you!
No comments:
Post a Comment