butterfly-curve
Simple object for generating butterfly curves
See: https://en.wikipedia.org/wiki/Butterfly_curve_(transcendental)
Option for changing the constants of the original formula.
Install:
npm install --save butterfly-curve
Code
See index.js
Usage
See test.js
Or:
https://codepen.io/diversen/pen/YQoZgR
License
MIT © Dennis Iversen