There is a single TemporalGroup containing three TemporalTransforms that each has a rectangle object as a child. When the TemporalGroup is active just one of the child TemporalTranforms will be active; the TemporalGroup will activate each TemporalTransform in turn to meet the given constraints. The white circle indicator in the top left is filled when the TemporalGroup is active; the activeChild output from the TemporalGroup is routed to a valuator, to create a string, and is shown as the active child. (The last active child is number 2, index starts at 0, and since there are no more outputs after the TemporalGroup goes inactive that index still shows in the last screen capture below).
Below each rectangle in the representation the top is an orange circle. This is filled when the TemporalTransform containing the respective rectangle object is active; at which time the rectangle object will be visible too. The actualDuration output from the TemporalTranform is fed, again via a valuator, to indicate the computed active duration. As the scene progresses it can be seen that these numbers correspond to the optimal durations.
The entire sequence should last for 10s, with the red rectangle being visible for 2s, the green for 3s and finally the blue for 5s. Screen captures below show this progression, with one more once the TemporalGroup sequence is complete beyond the 10s point.
Snapshot taken at 1s
![]() |
Snapshot taken at 3s
![]() |
Snapshot taken at 6s
![]() |
Snapshot taken after 10s
![]() |