Just a simple sine wave modifying the shape. Red lines are normals.
This example is part of blog post Cindermedusae - making generative creatures
// Code by Marcin Ignac // Made in processing.js