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 X_ITE X3D player!

(Perhaps a CORS error if testing on localhost)

X3D model source .x3d

ClassicVRML
.x3dv

VRML97

Canonical XML

X3D Model Documentation

X_ITE (Playground)

.java source (Javadoc)

.json (check)

.py python

.ttl Turtle (query)

X3DOM
 (X3DOM editor)

.x3db Compressed
Binary Encoding

Version control

Archive issues list

Email x3d‑public