I'm trying to draw this wavy pattern using p5.js
I tried using a sine wave, but notice sine waves don't have a the peaks vertical and are pointed
Is there a way to do this with using mathematical functions?
Or should I manually draw this by traversing a point vertically + making semi circle peaks manually and so on
I would also like to build upon this wavy pattern and put it inside shapes and maybe skew it in a curved shape