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

Misc => Recommended physics simulations from other web sites => Topic started by: Fu-Kwun Hwang on February 06, 2010, 11:05:35 am

Title: Jacob
Post by: Fu-Kwun Hwang on February 06, 2010, 11:05:35 am
Please check out  http://forum.phy.ntnu.edu.tw/CoLoS/JaCob/index.html for simulations related to charged particles and magnetism.
University of  Ljubljana
Faculty of Electrical Engineering
Vojko Valenčič, Savin Zlobec

Title: Re: Jacob
Post by: lookang on February 07, 2010, 07:34:22 am
great stuff JaCob by Vojko Valenčič, Savin Zlobec.

Dear Prof, can explain how you get the right frame to work?

i looked at the html source and created a folder

i save as from firefox for example these files


but i still cant run the first electricity example locally.
when i click on
"set up"
it is suppose to do
which i read the source means "Set up"

what files am i missing?

Title: Re: Jacob
Post by: Fu-Kwun Hwang on February 07, 2010, 09:23:11 am
The web page includes two frames when you visit http://forum.phy.ntnu.edu.tw/CoLoS/JaCob/index.html
The main page is index.html, it include jacob.html (left frame)and exp.html (right frame)
the right frame changes to expel/EElektrometer.html when you click Electricity
the right frame changes to expel/EVogal.html when you click Cylinder near conductive corner
 the expel/EVogal.html page will load expel/jco/EVogal.jco when you click setup
the following is javascript code from expel/EVogal.html
jint.readExperiment( "expel/jco/EVogal.jco")

So you need to have those files in the corresponding subdirectory to make it work.
Otherwise, you will need to change the html code or javascript code.

Title: Re: Jacob
Post by: lookang on February 08, 2010, 12:38:51 pm
i understand what you are saying.
i manage to get the examples to work by copying the codes into the main html, but it doesn't work maybe i missed some things or files or links reference location wrong.

i think i will re-customize it when i have the time.