Cohen-Sutherland Clipping applet

Use the left mouse button to set the endpoints of a line, or click "Random Line". Then press "Clip" to start the clipping algorithm.

In a regioncode, the bits mean the following:

Click here for a list of all applets.


Your browser does not support Java applets.
Patrick Min, CS Department, Princeton University
Last modified: Mon Jan 18 14:50:40 EST 1999