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.

Example of zooming JS?

Return to the EJS Modeling forum
Login to post to this thread

Example of zooming in JS?
Poul Alma
1 Posts

Can someone show a demo (or describe) how to enable zooming by mouse / touch in JS?

I looked through the code and can see this can work in Java, but how is this done in JS?

Any help appreciated.

Thanks for a great simulation library!

Post edited December 8, 2018 at 8:50 AM EST.

Current Replies - View all
Re: Example of zooming in...   (lookang - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book