Each 'track' contains a Shape with an IndexedFaceSet2D whose coordinates are set from a CoordinateInterpolator2D hooked up to a TimeSensor; the TimeSensor is under a TemporalTransform. The speed of the TemporalTranform and the cycleInterval of the TimeSensor are indicated for each track, eg 1/4x @ 15s means the speed of the TemporalTransform is set to 0.25 (1/4) and the cycleInterval of the TimeSensor is set to 15s. The track background is a set of 10 color bands dividing each track in 10 sections to give some visual clue of progress.
The first set of 5 tracks all should last for 60s (ie the combinations of speed and cycleInterval all end up at 60s). At 15s there are 3 new tracks added that are set, via their various combinations, to last 45s. At 30s again 3 new tracks are added lasting 30s each, and finally at 45s the last 3 tracks are added and these last 15s. Thus all the tracks should finally end (the red interpolated shape fully covers the track stepped gradient background) at exactly the same time, ie 60s.
Snapshot taken shortly after 45s when all tracks are in the scene
![]() |