How do I fill in points in an equation?

43 Views Asked by At

I'm doing research for Bézier curves for school, and I don't really understand how to fill in a point in an equation. I mean, I'd like to represent this on an x,y (or t,y) curve, but what do I need to fill in to calculate, say, B(1) or B(2)? I can't just fill in x and y coordinates.

$B(t) = (1-t)\cdot P_0+ t \cdot P_1$

1

There are 1 best solutions below

2
On BEST ANSWER

The points are bold because they are representing vectors. So, the equation you are looking at actually represents a $B_x(t)$ and $B_y(t)$. You then need to graph these parametrically. So, for $B_x(t)$, take the x-coordinates of the points on your control polygon and plug it in for $P_x$ and then $B_y(t)$ is merely the same equation with the y-coordinates. Then, graph these as a $(B_x(t),B_y(t))$ curve, where $t \in [0,1]$.