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.

Converting Legacy Apps to JavaScript Documents

Main Document

Converting Legacy Apps to JavaScript 

written by Wolfgang Christian, Doug Brown, and Robert Hanson

The lack of Java support in browsers, on mobile devices, and on Chromebooks was a major setback for education because thousands of Java simulations developed and used by teachers are no longer usable. To solve this problem, the Open Source Physics (OSP) team partnered with Bob Hanson's group at St. Olaf College to convert OSP Java programs to JavaScript using St. Olaf's SwingJS transpiler. This conversion allows us to republish many of our legacy apps as platform-independent web pages in the AAPT-ComPADRE OSP collection. This talk describes the conversion process and shows examples of converted programs.

Last Modified January 16, 2023

This file is included in the full-text index.
This file has previous versions.

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