To view this content, you need to install Java from java.com

Simple segmentation where lines are generated by mouse-clicks. Each line is drawn from the location of the previous click through the next click, to the edge of the applet.

If the description above sounds confusing, just try clicking around and see what happens. :)

source code (built with processing)