APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Not all windows appear post and replies

Return to the Not all windows appear thread
Login to post to this thread

Deleted Post
Alice GarcĂ­a
1 Posts

Post removed on February 3, 2022 at 7:52 AM EST.


Replies to Deleted Post

Re: Ejs problem -
Francisco Esquembre
238 Posts

Hi Alice,
EJS comes in two 'flavours': for those who want to create simulations in Java, and for those who prefer JavaScript and HTMl for it. I guess you chose the JavaScript version (well done, it is much more Web aware).
In this case, the JavaScript version could read files (ending in .ejs) of the other version, but you will have no HTMLView (which is what you are experiencing). This is normal and you should not open these files with your version. Instead, open the JavaScript examples, which end in .ejss.
Most demo examples are duplicated in Java and JavaScript, so you are in good grounds.
Hope this helped and thanks for using EJS.
Paco (author of EJS ;-) )



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book