<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<![CDATA[
ecmascript:
function set_fraction ( fraction, eventTime ) {
value_changed[0] = radius * Math.sin( turns * fraction * 6.28 ); // x
value_changed[1] = radius * Math.cos( turns * fraction * 6.28 ); // y
value_changed[2] = turns * (fraction - 0.5); // z
}
]]>
<![CDATA[
ecmascript:
function initalize( )
{
string_changed[0] = label + ':';
}
function set_float( value, timestamp )
{
string_changed[0] = label + ': ' + Math.round (value * 100) / 100;
}
]]>
<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/> -->
<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->