<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://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 =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='TimedTimer.x3d'/>
<meta name='descriptioncontent='Timed-timer demonstrates how to drive one TimeSensor with another one in order periodically trigger another animation.'/>
<meta name='creatorcontent='David R. Nadeau'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='1 July 1998'/>
<meta name='translatedcontent='2 February 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent='originals/timetime.wrl'/>
<meta name='referencecontent=' http://www.siggraph.org/s98 '/>
<meta name='referencecontent=' http://www.siggraph.org/s98/conference/courses/18.html '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0257.htm '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TimedTimer.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : Blue, BlueScale, Clock, Red, RedScale, Trigger

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo info='"Copyright (c) 1997, David R. Nadeau"title='Timed timer'/>
<Viewpoint description='Entry viewposition='0.0 0.0 12.0'/>
<NavigationInfo/>
<!-- ROUTE information for Red node:  [from RedScale.value_changed to set_scale ] -->
<Transform DEF='Red'>
<Shape>
<Appearance>
<Material diffuseColor='1.0 0.0 0.0'/>
</Appearance>
<Box/>
</Shape>
</Transform>
<Transform translation='2.0 2.0 0.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='-2.0 2.0 0.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='2.0 -2.0 0.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='-2.0 -2.0 0.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='0.0 -2.0 2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='0.0 2.0 2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='2.0 0.0 2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='-2.0 0.0 2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='0.0 -2.0 -2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='0.0 2.0 -2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='2.0 0.0 -2.0'>
<Transform USE='Red'/>
</Transform>
<Transform translation='-2.0 0.0 -2.0'>
<Transform USE='Red'/>
</Transform>
<!-- ROUTE information for Blue node:  [from BlueScale.value_changed to set_scale ] -->
<Transform DEF='Bluetranslation='2.0 0.0 0.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.0 0.0 1.0'/>
</Appearance>
<Box/>
</Shape>
</Transform>
<Transform translation='-4.0 0.0 0.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-2.0 0.0 2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-2.0 0.0 -2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-2.0 2.0 0.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-2.0 -2.0 0.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='0.0 2.0 2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='0.0 2.0 -2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-4.0 2.0 2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-4.0 2.0 -2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='0.0 -2.0 2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='0.0 -2.0 -2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-4.0 -2.0 2.0'>
<Transform USE='Blue'/>
</Transform>
<Transform translation='-4.0 -2.0 -2.0'>
<Transform USE='Blue'/>
</Transform>
<!-- ROUTE information for Clock node:  [from Trigger.cycleTime to set_startTime ] [from fraction_changed to RedScale.set_fraction ] [from fraction_changed to BlueScale.set_fraction ] -->
<TimeSensor DEF='ClockcycleInterval='3.0'/>
<!-- ROUTE information for Trigger node:  [from cycleTime to Clock.set_startTime ] -->
<TimeSensor DEF='TriggercycleInterval='5.0loop='true'/>
<!-- ROUTE information for RedScale node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to Red.set_scale ] -->
<PositionInterpolator DEF='RedScalekey='0.0 0.5 1.0keyValue='1.0 1.0 1.0 1.0E-4 1.0E-4 1.0E-4 1.0 1.0 1.0'/>
<!-- ROUTE information for BlueScale node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to Blue.set_scale ] -->
<PositionInterpolator DEF='BlueScalekey='0.0 0.25 0.5 0.75 1.0keyValue='1.0 1.0 1.0 1.0E-4 1.0E-4 1.0E-4 1.0 1.0 1.0 1.0E-4 1.0E-4 1.0E-4 1.0 1.0 1.0'/>
<ROUTE fromNode='TriggerfromField='cycleTimetoNode='ClocktoField='set_startTime'/>
<ROUTE fromNode='ClockfromField='fraction_changedtoNode='RedScaletoField='set_fraction'/>
<ROUTE fromNode='ClockfromField='fraction_changedtoNode='BlueScaletoField='set_fraction'/>
<ROUTE fromNode='RedScalefromField='value_changedtoNode='RedtoField='set_scale'/>
<ROUTE fromNode='BlueScalefromField='value_changedtoNode='BluetoField='set_scale'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : Blue, BlueScale, Clock, Red, RedScale, Trigger

Index for Viewpoint image : Viewpoint_1
-->

<!-- 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)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->