There are four bar, in which two points are fixed.
One point is rotated with constant angular velocity.
The other point will move along.

You can try to drag those four points. Some time it will not be able to rotate continuously.
Can you find out the condition for it to move continuously?

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/rotateshape_pkg/rotateshape.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ 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(1360.5kB):double click downloaded file to run it. (5 times by 5 users) , Download EJS source (3 times by 3 users) View EJS source