<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interchange' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='ColorInterpolator.x3d'/>
<meta name='descriptioncontent='X3D encodings example: ColorInterpolator demonstration modifies Material color.'/>
<meta name='creatorcontent='Don Brutzman and Joe Williams'/>
<meta name='createdcontent='1 June 2002'/>
<meta name='modifiedcontent='28 October 2019'/>
<meta name='specificationSectioncontent=' X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.12 Colour interpolator'/>
<meta name='specificationUrlcontent=' https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/examples.html#ColourInterpolator '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ColorInterpolator.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : myClock, myColor, myMaterial
-->
<Scene>
<WorldInfo title='ColorInterpolator.x3d'/>
<!-- ROUTE information for myColor node:  [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'/>
<!-- ROUTE information for myClock node:  [from fraction_changed to myColor.set_fraction ] -->
<TimeSensor DEF='myClockcycleInterval='10.0loop='true'/>
<Shape bboxCenter='0 0 0bboxSize='-1 -1 -1'>
<Sphere/>
<Appearance>
<!-- ROUTE information for myMaterial node:  [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
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->