I have a task - draw a smooth curve
input: a set of points (they are added in real time)
current solution: I use every 4 points to draw a Bezier curve (1 - strart, 2 and 3rd - control points, 4 ends). The endpoint of each curve is the starting point for the next.
problem: when connecting curves, I often have a “fracture” (angle)
Can you tell me how to connect my dots smoother?
Thank!
iphone core-graphics graphics quartz-graphics bezier
OgreSwamp Jun 02 '10 at 10:52 2010-06-02 10:52
source share