Here is another version I just created!
You can drag the blue arrow to change angle when the state is paused.

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/sincos_pkg/sincos.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(727.4kB):double click downloaded file to run it. (10 times by 8 users) , Download EJS source (6 times by 4 users) View EJS source