Installation
VPython
Using PhysUtil as a Python module can helps users generate highly-visual VPython programs. Installation is very simple.
- Download the physutil.py script
- Place the physutil.py script in the same folder as the VPython script you are writing.
- Call physutil in your script using
import physutil
It’s that simple.
Glowscript
Using PhysUtil as a Javasript library can help uses generate highly-visual Glowscript programs. Use is very simple.
- In your Glowscript program include the following line:
get_library('https://cdn.rawgit.com/PERLMSU/physutil/master/js/physutil.js')