Horizontal "wavy" visual effect

Using Mac SDK 2.5.0

Hello! I've been curious about the horizontal "wavy" visual effect I've seen in some Playdate games. Here's an example from SquidGod's Almost Tennis video:

Is this a canned set of frames or it can be done programmatically? It'd be nice if it worked on sprites, but maybe the method only works on drawn primitives?

Thanks for your insights!

Hello, I believe this is what you are looking for: A list of helpful libraries and code - #13 by dustin