The following is a cliper simulation.
You can change the width of the blue object or the diameter of the green object
(click diameter to show the object and measure it's diameter).

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/cliper_pkg/cliper.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1291.6kB):double click downloaded file to run it. (60 times by 40 users) , Download EJS source (23 times by 9 users) View EJS source

You may want to view the following video [youtube=kTLhmptHAPc]