[pstricks] Problem with psbezier curve

Loïc xlogo at free.fr
Sun Dec 7 18:35:21 CET 2008


I'm working on quadratic PsBezier curve.
\psset{unit=1 mm}
In this example, a Bezier curve with three control points is drawn.
those points are A(0,0) B(0,80) and C(80,0)

Each point of the quadratic curve has barycentric coordinates 
A: (1-t)^2 ; B: 2t(1-t) and C: t^2 with value t in [0;1]

That's why I draw the parametric curve (the blue line) with:

But I don't understand why those two lines are different? Am I wrong?
Thanks in advance for your help


More information about the PSTricks mailing list