NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Dynamics => Topic started by: Fu-Kwun Hwang on October 10, 2007, 10:52:11 am



Title: motion of Moon, Earth relative to the Sun
Post by: Fu-Kwun Hwang on October 10, 2007, 10:52:11 am
This is an EJS example (come with the distribution under _example directory)

You can pause the simulation,then drag sun, earth or moon to different position and see what will happen!

If you want to know how it was calculated from Newton's Law, Click "load Ejs as signed applet" or "View" ejs source.


Title: Re: motion of Moon, Earth relative to the Sun
Post by: Azmodaii on January 10, 2008, 09:27:44 pm
Hello, I was wondering if i could possibly have the sourcecode for this applet since it would fit very well into an explanatory project i am conducting atm to a group. thank you in advance.


Title: Re: motion of Moon, Earth relative to the Sun
Post by: Fu-Kwun Hwang on January 10, 2008, 10:53:43 pm
There is a link for user to download EJS source in the first message.  Click the link and you can download ejs source
Then load it into EJS to modify or create new simulation (You will need to download and install ejs first).
You can also find java source code if you really need it.

You can also click load ejs as signed applet button , EJS will be loaded into your browser (2M) so it take a few seconds for slow connection, then you will find all the code (you can modify the code and run new simulation,too!).