I think it would be preferable to have a table, thanks to it, we would be able to visualize all the selected colors, but it would be a little more difficult to ask: how to define the time of appearance of each color ?
For this reason, I think it would be simpler to define a general time, it would be used to know the time of a star (like today, where we define the minimum time and the maximum time). Then in the table, for each color, define their times of apparitions in this general time.
Let’s take an example:
The overall time is 3 seconds. Now we challenge 3 colours in a table:
Let us indicate each time:
Red from 0 second to 1 second. blue from 1 second to 2 seconds. green from 2 seconds to 3 seconds. (Of course, for more realism, the software should not be able to put a perfect time, if it is written from 1 to 2 seconds that it generates an approximate number, such as 0. 78 seconds to 2. 35 seconds. . . )
here is my proposal but now it is necessary to know if it is possible to develop this action. . . .
Recontact me here if it is not possible and I would try to find a solution simpler of use is simpler of realization.