Class Figure30_1ScriptSlidingBall

java.lang.Object
Vrml2Sourcebook.Chapter30Scripts.Figure30_1ScriptSlidingBall

public class Figure30_1ScriptSlidingBall extends Object

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.

Related links: Catalog page Figure30_1ScriptSlidingBall, source Figure30_1ScriptSlidingBall.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title Figure30_1ScriptSlidingBall.x3d
creator Figure 30.1, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland
reference http://www.wiley.com/legacy/compbooks/vrml2sbk/ch30/30fig01.htm
translator Don Brutzman
created 28 November 2000
modified 20 October 2019
description 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.
identifier https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts/Figure30_1ScriptSlidingBall.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet (version control) which is used to create Java source code from an original .x3d model.