Wavy text animation in Skia

Nothing fancy here but I thought I’d share anyway.

I was asked by my flatmate if vvvv could do this: Andreion de Castro on Instagram: "“MYSTERY OF LOVE” Beautiful piano cover by @winterlyheights of Mystery of Love by @sufjan"

I of course said yes, and gave it at shot. Here is the result in case you find it interesting/useful:

WavyText.vl (38.8 KB)

Bare in mind it does not handle window resizing gracefully. Something to improve on later.

[UPDATE: implemented @tonfilm’s suggestion]

5 Likes

nice, minor hint… a string is IEnumerable<Char> so you can connect it directly to a ForEach loop and get each character in the loop, it saves getting the Length, For loop, and GetCharacter…

1 Like

I knew there had to be a better way, thanks for the tip @tonfilm !!

I added the changes and updated the patch.