I was playing with Synfig trying to animate how Bézier (or splines) curves are created in order to use them in my classes.
I have arrived here:
source file: bezier_v03.sifz (6,0 KB)
I would say the way this quadratic curve is created is well designed… I mean, the animated lines and the black dot which is the one that “draws” the final curve)
My “problem” comes when drawing the red line, that is, the resulting curve. I drawn it with the Spline tool and it doesn’t fit (note that the tangent handles are placed at P1 point):
I don’t know if this is not the correct way to draw it or if Synfig internally only draws cubic curves or… my approach is wrong.
BTW if I try to hack it and use the handles to fake it and make it follow the black dot this is what happens:
It looks almost right, but the tangent handles are placed at no singular place, just anywhere… Looking at the video (or the Synfig file I attached), you will see that the animated red line doesn’t follow exactly the black dot but get retarded or even ahead it in part ot the path.
So, the question for Synfig gurus is: where is/are my errors? or should I take a different approach to simulate it?