Flashing stroke paint color on svg

I’m trying to animate a very basic svg in perspective and would like some colours to flash . I created a binding with a map transform on the stroke paint property of my object. I can set fixed colours, is there an easy way to have a colour flash like in vision?

Use a Perspective Style and animate it :slight_smile: Apply the style by adding it into the style.classes property of the component. If you apply it to the base props.style.classes then you’ll need to make sure that the shapes that you want to colour have no fill.paint objects in them, as this will override the style property (see 3rd image).

Example Perspective Style Flash



So much to learn. Thanks for your help :slightly_smiling_face:

1 Like