Drawing path by Bezier curves

Posted by OgreSwamp on Stack Overflow See other posts from Stack Overflow or by OgreSwamp
Published on 2010-06-02T10:52:52Z Indexed on 2010/06/02 12:14 UTC
Read the original article Hit count: 293

Hello. I have a task - draw smooth curve

input: set of points (they added in realtime)

current solution: I use each 4 points to draw qubic Bezier curve (1 - strart, 2 and 3rd - control points, 4- end). End point of each curve is start point for the next one.

problem: at the curves connection I often have "fracture" (angle)

Can you tell me, how to connect my points more smooth?

Thanks!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about graphics