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.

Your browser might not support all features required by Cobweb!

X3D model

ClassicVRML

VRML97

Canonical

Source view

Cobweb

X3DOM

.json (check)

.x3db Binary