Hi prof,


i noticed a bug in the direction of F magnetic.

// use return q*v*(-Bz) instead of return q*v*(Bz); becaue Bz is define as down positive

btw i manage to create 2 variant simulations
Ejs Open Source Charge Particle in Magnetic Field B Java Applet in 3D
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1972.msg7328#msg7328

Ejs Open Source Cyclotron Java Applet in 3D
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2021.msg7600#msg7600

i will update the 2 variant simulations soon!