sims.experimental.SimpleApp

previous next

Simple App is a demo 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. SimpleApp.js sets up the LabCanvas and DisplayObjects and defines the callback that drives the animation.

Valid HTML 4.01