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:


Your browser does not support Java applets.
Patrick Min, CS Department, Princeton University
Last modified: Mon Jan 18 15:31:42 EST 1999