Table of Contents Chapter Index Previous Slide Next Slide 347
A sample JavaScript script use

Introducing program script writing with JavaScript
A sample JavaScript script use
  • Create a Spiral interpolator that computes a spiral path from a fractional time input

  • Fields needed:
  • Path radius
  • Number of cycles
  • Phase
  • Starting and ending height
  • Fraction offset for use with multiple paths