The myPhysicsLab website shows the simulations running and contains explanations of the math behind them.
Author and License
Source code is available at https://github.com/myphysicslab/myphysicslab.
It is possible to customize a myPhysicsLab simulation without building from source code, see Customizing myPhysicsLab Simulations.
To build from source code the required tools are
Once the prerequisites are on your system, follow these steps:
Download the myPhysicsLab source code from https://github.com/myphysicslab/myphysicslab.
Copy the file
myConfig.mkto specify location of Closure Compiler in the
Create a symbolic link to
closure-libraryin the directory that has the
makefile. Example of how to create the symbolic link:
$ ln -s ../closure-library/ closure-library
makeat the command line. (Set your directory to where the
makefileis). This will compile all applications and tests in all language versions (using the default option
make helpto see available options.
Open the file
/build/index-en.htmlwith a browser. This has links to all the files that were built.
NOTE: the HTML files in the source directories cannot be used directly from a browser. You must complete the build process first.
See Building myPhysicsLab Software for more information about the build process.
See myPhysicsLab Documentation for overview of architecture and for detailed documentation of software.
There are around 50 different simulations in the source code, each of which has has an example file which is mainly for development and testing.