Header menu logo FSharp.Stats

Bezier Module

Bezier interpolates data between 2 points using a number of control points, which determine the degree of the interpolated curve.

Functions and values

Function or value Description

interpolate values

Full Usage: interpolate values

Parameters:
    values : Vector<float>[] - an array containg the starting point, the control points, and the end point to use for interpolation

Returns: float -> Vector<float> The generated interpolation function

This implements Bezier interpolation using De Casteljau's algorithm.

values : Vector<float>[]

an array containg the starting point, the control points, and the end point to use for interpolation

Returns: float -> Vector<float>

The generated interpolation function

lerp p1 p2 t

Full Usage: lerp p1 p2 t

Parameters:
    p1 : Vector<float>
    p2 : Vector<float>
    t : float

Returns: Vector<float>
Modifiers: inline
p1 : Vector<float>
p2 : Vector<float>
t : float
Returns: Vector<float>

Type something to start searching.