@Vishhhh Replied to you via private message
In case anyone else needs it, I'll just share this stuff:
Loom video explaining the code in case you want it.
Github repo if you just want to jump straight into it.
If anyone is confused by any aspect of it, let me know. I haven't cleaned anything up, this was just me learning as I hit my head against the coding-wall. Thank GodSAP for this forum, I'd be stuck for a long time otherwise.
I happen to also have a NextJS example of the animation if someone wants it.