Heart Curves in p5.js

There are many ways to draw a heart shape. It could be something really simple like rotating a square by PI/4 and attatching half circles to two adjacent sides. You can also render a heart using higher order math equations. Following Daniel Shiffman's approach in his Heart Curve coding challenge, I choose the later route. I utilized the equations from two different websites. In some cases, I had to tinker a bit with the parameters until I was able to render a decent heart shape. The code for the heart sketches can be found here.

Heart curve 1 Heart Curve 1
Heart curve 2 Heart Curve 2
Heart curve 3 Heart Curve 3
Heart curve 4 Heart Curve 4
Heart curve 2 Heart Curve Rendered with a Shader
Heart curve animation Heart Curve Animation
Heart curve animation 2 Heart Curve Animation 2
3D Heart with shader 3D Heart Curve