Liking cljdoc? Tell your friends :D
ClojureScript only.

active-viz.interpolation.simple-splines


interpolatecljs

(interpolate points smoothness)

Does a simple splines interpolation via control points by using the angle and distance between successive points.

Takes a list of points ([x y]) and returns a list of spline control-points tuples for each point in points.

The factor smoothness defines the smoothing between points, where a high value results in high smoothing. We recommend values between 0 and 1, however, these highly depend on the data in points.

Does a simple splines interpolation via control points by
using the angle and distance between successive points. 

Takes a list of points (`[x y]`) and returns a list of spline
control-points tuples for each point in `points`. 


The factor smoothness defines the smoothing between points, where
a high value results in high smoothing. We recommend values between 0 and 1,
however, these highly depend on the data in `points`. 
sourceraw docstring

linecljs

(line point1 point2)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close