Basic HTML version of Foils prepared April 15 1997

Foil 20 Java class to dynamically generate VRML 2.0 nodes at runtime - I

From VRML 2 Scripting -- Java JavaScript VRMLScript CPS616 -- Information Track of CPS -- Spring Semester 97. by Balaji Natarajan(Geoffrey C. Fox) *

1 Public class DynamicGenerator extends Script {
2 MFNode addSphere ;
3 Random randomNumGenerator = new Random();
4 float posX = 0.0f;
5
6 public void initialize() {
7 addSphere = (MFNode)getEventOut("addSphere"); }

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 14 1997