Ejs Open Source Bar Magnetic Field Lines Model Java Applet

made possible thanks to
Michael Galis http://www.compadre.org/osp/bulletinboard/TDetails.cfm?ViewType=2&TID=2226&CID=51612&#PID51613

and Wolfgang Christian http://www.compadre.org/osp/items/detail.cfm?ID=12361

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/fieldlines3Dwee01_pkg/fieldlines3Dwee01.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(973.8kB):double click downloaded file to run it. (17 times by 13 users) , Download EJS source View EJS source

work in progress.

My own naive idea is to use analyticCurve3D but i haven't seen any example on a family of analyticCurve3D, so each is drawn as a single analyticCurve3D.

the match is close but not very accurate
An ellipse in general position can be expressed parametrically as the path of a point (X(t),Y(t)), where
Minimum = 0
Maximum = 2*Math.PI
Variable = "theta"
X() = "1.4+1.4*Math.cos(theta)*Math.cos(0)-1.4*Math.sin(theta)*Math.sin(0)"
z()= "0+0.5*Math.sin(theta)*Math.sin(0)-1*Math.sin(theta)*Math.cos(0)"