Making Rectangle Flash -Easiest Way?

So via PM we worked out that the effect we wanted was

rect colour to change. - delay - rect colour revert - delay - next colour change

So changing

}, blink);

to

}, 200);

Seems to work.

Also from PM

This one uses the colour of the digit under the rect to determine the rect change colour.
The rects are in groups with their digits and we use classNames to find the elements in each group to get and set the correct properties.

harmonicRhythm_MHv3.hype.zip (24.4 KB)

2 Likes