Hello prof
I tried mix your design in applet is [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=348.0]relations between simple harmonic motion and circular motion[/url] to me design mathematic applet [b]Sine, Cosine and Tangent [/b] have example design by walter fendt
The URL [u]http://www.walter-fendt.de/m14e/sincostan_e.htm[/u]
I attach picture to applet that design by walter fendt  i try design the same applet by EJS using your code,
But have many wrongs, could you help me to me design the applet please.
I also attach the EJS jar applet that i done for you can see my wrongs.
I change language from portages to English in second jar file