anim_center_0_00.x3d source
<?xml version="1.0" encoding="UTF-8"?>

<X3D>
<Scene>
<Viewpoint position='-5 0 5' orientation='0 -1 0 0.78' description='"initial"'/>

<NavigationInfo
type='"EXAMINE"'
/>

<!-- 背景 -->
<Background
skyColor='1 1 1'
/>

<!-- 箱 -->
<Shape>
<Appearance>
<Material/>
<ImageTexture repeatS='FALSE' repeatT='FALSE'
url='"map.gif"'
/>
<TextureTransform DEF='TT'/>
</Appearance>
<Box/>
</Shape>

<!-- タイムセンサー -->
<TimeSensor DEF='TiS' cycleInterval='25' loop='TRUE'/>

<!-- 回転アニメーション -->
<ScalarInterpolator DEF='SI'
key='0 0.25 0.5 0.75 1'
keyValue='0 1.5708 3.1416 4.7124 6.2832'
/>

<!-- 中心移動アニメーション -->
<PositionInterpolator2D DEF='PI2D'
key='0 0.25 0.5 0.75 1'
keyValue='-0.5 -0.9
-0.1 -0.5
-0.5 -0.9
-0.9 -0.5
-0.5 -0.9
'
/>

<ROUTE fromNode='TiS' fromField='fraction_changed' toNode='SI' toField='set_fraction'/>
<ROUTE fromNode='SI' fromField='value_changed' toNode='TT' toField='rotation'/>

<ROUTE fromNode='TiS' fromField='fraction_changed' toNode='PI2D' toField='set_fraction'/>
<ROUTE fromNode='PI2D' fromField='value_changed' toNode='TT' toField='center'/>
</Scene>
</X3D>