422

Writing program scripts with JavaScript
JavaScript script example code

  • Calculations needed:
  • Compute new ball position
  • Send new position event
  • Use a ball position equation roughly based upon Physics
  • See comments in the VRML file for the derivation of the equation