See also these Math/Physics Javascript programs: