#VRML V2.0 utf8 Group{ children[ Shape{ appearance Appearance{ material DEF mat Material{ diffuseColor 0 1 0 } } geometry Sphere{} } DEF ci ColorInterpolator{ key[0 0.5 1] keyValue[1 0 0, 0 1 0, 0 0 1] } DEF ts TimeSensor{ cycleInterval 2 loop TRUE } ] } ROUTE ts.fraction_changed TO ci.set_fraction ROUTE ci.value_changed TO mat.set_diffuseColor