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

Ejs Open Source Cyclotron Java Applet in 3D

i will update the 2 variant simulations soon!