A functional JS exercise using Canvas, and Ramda.js.
- install
npm install -g webpack
npm install
- build
webpack
- open
open index.html
This editor renders a Catmull-Rom spline curve given a set of points and options by the user.
https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Catmull.E2.80.93Rom_spline
- Click to add points.
- Click and drag to move points.
- Use UI panel to change the curve properties.