Looking for a Colour Animation SmartApp

I’ve been looking for ages, for a smartapp that can do custom colour animations.

Example 1: When I turn on a Virtual Switch, the Hue Bloom will fade between a randomized colour within {light blue, light green, turquoise, aqua, teal} for an underwater scene in my daughter’s bedroom

Example 2: Home is set to Away Mode (or SHM Armed), and Motion is Detected in the back garden. play a loop of a triple flash strobe in bright blue, on an ambiant Hue to imitate police lights.

I know some of these things can be done with iOS apps, but I would prefer to be able to add these as part of a scene, or automatic trigger without requiring a phone Presense.

I’m sure something like this could be done as a SmartApp in Groovy, but I have no experience in programming SmartApps, so not the faintest clue how to do it programmatically.

Anyone looking to take on a project?

You can probably accomplish this with CoRE.

I saw the red/green loop. I couldn’t figure out whether it would instantly switch colours, or whether it could slowly fade from one colour to the next.

Cheers!