Artifying Peter de Jong With p5.jsUpdated: Jun 21, 2023 Not to get super math-y, but the way to do such gorgeous graphs (picture below) is basically by following this formula.
You can play around with this sketch by adjusting the sliders and clicking on re-draw