View Full Version : Creating smooth curve from sampled points

05-05-2014, 11:05 AM
I am creating sort of a 'paint' application in which use can draw free curves. If i draw the sampled points as is, the curve does not look smooth.

I tried the algorithm in the following tutorial: http://www.merowing.info/2012/04/drawing-smooth-lines-with-cocos2d-ios-inspired-by-paper/#.U2e1EK2Sy-Q This tutorial create smooth curves using quad bezier curves.

The result is OK, but still not as good as i would like and i can still see the curve 'breaks'. How can i improve the curves and make them smoother, similar to 'paper' application?