#VRML V2.0 utf8

DEF Wuerfel Transform  { children  Shape
                                   { appearance Appearance { material Material {} }
                                     geometry Box {}
                                   }
}

DEF Interpolator PositionInterpolator
{ key      [ 0      0.5    1     ]
  keyValue [ 0 0 0, 0 2 0, 0 0 0 ]
}

DEF Uhr TimeSensor { cycleInterval 5 loop TRUE }

ROUTE Uhr.fraction_changed TO Interpolator.set_fraction
ROUTE Interpolator.value_changed TO Wuerfel.set_translation