I am currently learning how to use the EjsS (high schooler). I am quite comfortable with Java but, now I am having problem and doubts with the HTML View. I want to create simulations for the Celestrial sphere and Orbits in 3D.
It will be very helpful is someone can provide how to Create a 3D sphere that can be rotated in all the three axis and how to *embed stars in the sphere* and *how to link up variables with the elements in the HTML View*. Any example will help, since I am trying to learn from them.
I have looked up some the EJS source codes, like for the celestial globe model by Todd Timberlake : https://www.compadre.org/osp/items/detail.cfm?ID=9379
But these don't have the HTML View in them, the thing that I am trying to learn about.
Which version of EJS are you using? EJS has two versions. One version (the older version) produces compiled Java simulations (jar files) and this version does not have an HTML view. The newer version produces JavaScript simulations and this version produces an HTML page.
I downloaded the EJS source codes under the subheading supplementary materials from some of the simulations on astronomy section ( like the example that I provided). Extracted all the files in the source folder of workspace.Then opened it through the EjsConsole. It has all the sections except html view. This is the case with all the source codes I downloaded. But the original one runs just fine. Also when I try to run them, it says that there is no html view for the code.