Illustration of JavaScript features

This is an illustration of using scripts in HTML together with x3d scripting. It illustrates dynamic selection of a vertical interpolator from the push buttons. Note that the control is in HTML, CSS, and JavaScript while the animation is in x3d. The x3d script uses an HTML script function to interpolate while the HTML script redefines the x3d script function to add color cycling via DOM API (flatY button).

3D Space