Bezier.quadratic()

Compute one dimension quadratic bezier curve

Parameters

NameTypeDescription
1p0number
2p1number
3p2number
4tnumber

Return value

number

the result

Usage

import {Bezizer} from '@lcluber/type6js';

let p0 = 2;
let p1 = 3;
let p2 = 6;
let t = 4;
let bezier = Bezier.quadratic(p0,p1,p2,t);