X3D Example Archives: X3D for Web Authors, Chapter 09 Event Utilities Scripting, Script Simple State Events

A Script node drives an animated push button that turns a light on and off.

Your browser might not support all features required by Cobweb!

X3D model

ClassicVRML

VRML97

Canonical

annotated .x3d source

Cobweb

X3DOM

.json (check)

.x3db Binary

Javadoc and .java source