<?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='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='Figure08.5AnimatingScaleWithAxes.x3d' name='title'/>
    <meta content='Figure 8.5, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland' name='creator'/>
    <meta content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch08/08fig05.htm' name='reference'/>
    <meta content='Kevin S. Anderson, Don Brutzman' name='translators'/>
    <meta content='8 August 2000' name='created'/>
    <meta content='9 March 2014' name='modified'/>
    <meta content='Animation that scales a coordinate system and the ball built within it, with coordinate axes superimposed to show X3D/VRML directions' name='description'/>
    <meta content='http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter08-AnimatingPositionOrientationScale/Figure08.5AnimatingScaleWithAxes.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <!-- Pulsing Ball -->
    <Group>
      <Transform DEF='BallTransform'>
        <Shape>
          <!-- Note that simple geometry (such as Sphere scale) is not allowed to change after initial creation. Scale changes are animated through parent Transform scale instead. -->
          <Sphere/>
          <Appearance>
            <Material ambientIntensity='1' diffuseColor='1 0 0' shininess='1' specularColor='1 0 0'/>
          </Appearance>
        </Shape>
      </Transform>
      <TimeSensor DEF='CLOCK' cycleInterval='2.0' loop='true'/>
      <PositionInterpolator DEF='BALLSIZE' key='0.0 0.2 0.65 1.0' keyValue='1.0 1.0 1.0 1.5 1.5 1.5 1.1 1.1 1.1 1.0 1.0 1.0'/>
    </Group>
    <!-- Adding this Inline reference to another scene superimposes X3D/VRML coordinate system axes. -->
    <Transform scale='2 2 2'>
      <Inline DEF='CoordinateAxes' url='"../../X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.x3d" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.wrl" "http://X3dGraphics.com/examples/X3dForWebAuthors/Chapter03-Grouping/CoordinateAxes.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/CoordinateAxes.wrl"'/>
    </Transform>
    <!-- Use of all-capitals for DEF names helps discriminate them from nodes and prototypes. -->
    <ROUTE fromField='fraction_changed' fromNode='CLOCK' toField='set_fraction' toNode='BALLSIZE'/>
    <ROUTE fromField='value_changed' fromNode='BALLSIZE' toField='set_scale' toNode='BallTransform'/>
  </Scene>
</X3D>