X3D Example Archives: VRML 2 Sourcebook, Chapter 30 Scripts, Figure 30 1 Script Sliding Ball

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.

Display error: X3D model not shown.

Your HTML browser does not appear to support all features required by the

X3D model



Canonical XML

html annotated documentation

.py python


X3DOM (editor)

.json (check)

.x3db Binary

.java source (Javadoc)

.ttl Turtle (query)