410

Writing program scripts with JavaScript
Motivation

  • A program script implements the Script node using values from the interface
  • The script responds to inputs and sends outputs
  • A program script can be written in Java, JavaScript, VRMLscript, and other languages
  • JavaScript is easier to program
  • Java is more powerful
  • VRMLscript is essentially JavaScript