#VRML V2.0 utf8
Viewpoint { position 0 0 10 }

DEF Kugel Transform
{  children   [ Shape   {  appearance Appearance { material Material { diffuseColor 1 0 0 } }
                           geometry Sphere {}
                        }
              ]
}

DEF Uhr TimeSensor { cycleInterval 6.0 startTime 0 loop TRUE }
DEF dickundduenn PositionInterpolator
{  key      [ 0,     0.5,     1     ]
   keyValue [ 1 2 1, 2 0.5 2, 1 2 1 ]
}
DEF aufundab PositionInterpolator
{  key      [ 0,      0.5,   1     ]
   keyValue [ 0 -2 0, 0 2 0, 0 -2 0 ]
}
ROUTE Uhr.fraction_changed TO dickundduenn.set_fraction
ROUTE dickundduenn.value_changed TO Kugel.scale
ROUTE Uhr.fraction_changed TO aufundab.set_fraction
ROUTE aufundab.value_changed TO Kugel.translation