previous next

SimpleApp is a demonstration of using a minimal set of myPhysicsLab classes.

This displays something like the SingleSpringSim simulation, but it uses a very simple math routine to move the objects instead of a differential equation. There are no DiffEqSolver or Simulation classes involved. This sets up the LabCanvas and DisplayObjects and defines the callback that drives the animation.

Valid HTML 4.01