
Beziér me a curve!
code-golf
Task: Create a program that will, given a number N, create a Beziér curve with N control points and output its equation.
The definition of a Beziér curve is
$$
B(t) = \sum_{i=0}^n{{n\choose i}(1-t)^{n-i}t^iP_i}
$$
Practically, this means that for a quadratic Bezié...