Project requires GLUT to be installed on the running machine.
-
Display "wake" line drawing: The left drawing is my own implementation of midpoint-based Gupta-Sproull anti-aliased lines. The right drawing is OpenGL's implementation.
-
Dynamic line drawing: Left clicking begins a new set of lines. Right clicking will add a new control point.
-
Circle drawing: Circles are drawn using the
midpoint_circle()function. Pressing theckey will switch between dynamic line drawing mode and circle mode. In circle mode, a circle with radius 100 will be drawn around the cursor. -
Ellipse drawing: The
midpoint_ellipse()function will draw an ellipse with the specified coordinates and radii. -
Line styles: Line thickness, stipple pattern, and color are specified as function arguments to
GSLine().