Bezier curve drawing track

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!

+4
iphone core-graphics graphics quartz-graphics bezier
Jun 02 '10 at 10:52
source share
1 answer
+12
Jun 02 2018-10-12T00:
source share



All Articles