construct
pub fn cbez<T: Float>(a: [T; 3], b: [T; 3], c: [T; 3], d: [T; 3]) -> Fn1<T>
Cubic bezier curve.