<?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">
<X3D profile='Immersiveversion='3.0xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='Example12.x3d'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='26 June 2000'/>
<meta name='modifiedcontent='13 August 2002'/>
<meta name='descriptioncontent='VRML 97 specification example: ColorInterpolator interpolates from red to green to blue to red in a 10 second cycle'/>
<meta name='referencecontent='original/exampleD_12.wrl'/>
<meta name='referencecontent=' http://www.web3d.org/technicalinfo/specifications/vrml97/part1/examples.html#D.12 '/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example12.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../license.html'/>
</head>
<!--

Index for DEF nodes: myClock, myColor, myMaterial
-->
<Scene>
<!-- myColor ROUTEs:  [from myClock.fraction_changed to set_fraction ] [from value_changed to myMaterial.diffuseColor ] -->
<ColorInterpolator DEF='myColorkey='0.0 0.333 0.666 1.0keyValue='1 0 0 0 1 0 0 0 1 1 0 0'/>
<!-- myClock ROUTE:  [from fraction_changed to myColor.set_fraction ] -->
<TimeSensor DEF='myClockcycleInterval='10.0loop='true'/>
<Shape>
<Sphere/>
<Appearance>
<!-- myMaterial ROUTE:  [from myColor.value_changed to diffuseColor ] -->
<Material DEF='myMaterial'/>
</Appearance>
</Shape>
<ROUTE fromNode='myClockfromField='fraction_changedtoNode='myColortoField='set_fraction'/>
<ROUTE fromNode='myColorfromField='value_changedtoNode='myMaterialtoField='diffuseColor'/>
</Scene>
</X3D>
<!--

Index for DEF nodes: myClock, myColor, myMaterial
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> -->