8000 GitHub - proc0/spline-demo: Cardinal spline using HTML5 canvas and functional JS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

proc0/spline-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas 2D Spline Editor

A functional JS exercise using Canvas, and Ramda.js.

Run the demo

  1. install
npm install -g webpack
npm install
  1. build
webpack
  1. open
open index.html

Description

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.

About

Cardinal spline using HTML5 canvas and functional JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0