0.2.2 • Published 2 months ago

@curvy/b-spline v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@curvy/b-spline

B Splines do not pass through any of the control points intentionally. In exchange, the acceleration of the curve is guaranteed to be continuous.

Basic Example

import {createCubicBSpline} from '@curvy/catmull-rom'

const bSpline = createCubicBSpline([
  {x: -5, y: 0},
  {x: 0, y: 0},
  {x: 0.5, y: 0.5},
  {x: 1, y: 1},
  {x: 2, y: 1}
])
0.2.2

2 months ago

0.2.0

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago