1 of 4

creating keyframed bezier path animations

I want to create the effect in the animation seen below, using Swift and SpriteKit.

https://www.instagram.com/p/hyhbVopdhH/

I am not too sure how where to begin but I know that this probably involves using keyframed bezier path animations. I would appreciate any help or guidelines to achieve this.