This page should display your solution of the Cohen-Sutherland line-clipping algorithm.
The gray square represents the viewport against which we are clipping. The border drawn below is considered to be INSIDE the viewport.

Note that this requires a Browser which supports Java 1.1 or higher. This is the default on Athena.

Instructions: Drag your mouse about the view area with one of the mouse buttons pressed.

How can you not be running a Java-enabled browser in this day and age?