Chromatic card effect

Hi everyone 👋


I’m trying to learn how to do complex interactions and I was curious to replicate Revolut’s chromatic card effect. To be honest I wasn’t sure if it can be done in protopie I tried it myself but I seem to be stuck I can’t make the color effect work with rotating 😓


Does anyone know if this is possible to replicate in Protopie? I would really appreciate your help 😊


I’ve attached a video for of the interaction on Revolut.

Revolut Chromatic.mov