Sutherland-Hodgman-Algorithm Applet

Just draw a polygon with the mouse; clicking at your first point again closes the polygon. Then press the Clip-Button to clip the polygon immediately; activating the step-by-step mode shows the clipping at the four sides of the rectangle one after the other. To draw a new polygon, press the Reset-Button to clean the painting area.

This site is part of Sunshine's Homepage