Figure30.1ScriptSlidingBall.x3d

A sliding red sphere and a custom interpolation script. Three ways to include ECMAScript (JavaScript) programming are compared: external file, url script code, and embedded script code. Recommendation: use embedded script code inside a CDATA block.

Original X3D scene

Your browser might not support all features required by Cobweb!

Cobweb X3D Browser