Basic HTML version of Foils prepared April 15 1997

Foil 47 JavaScript source to create custom interpolator nodes in VRML world

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

// Function to move a shape in a straight path
function set_fraction(fraction, eventTime )
{
value_changed[0] = fraction; // X component
value_changed[1] = 0.0; // Y component
value_changed[2] = 0.0; // Z component
}



© 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