Drawing a blob with ofPath

I’ve run into this problem a couple of times and have spammed my way out of it by adding curve points that kinda wrap round to the first couple of iterators, but these seems well dodge.

Basically using the pseudo code below I end up with a sharp angle at the 0/360 degree point, this makes sense because of the bezier control points stuff, is there an agreed approach to dealing with this?

for(int i=0; i<circleResolution; i++){
            ofPoint res;
            if(i == 0) {
            } else {
1 Like

I’m sorry if I didn’t understand your problem, and right now I’m busy working. But looking at the title of the post I could suggest to take a look at ofxNanoVG (there two version Saraitouga and GalSasson) . I’ve been using for a long and I can say that this addon let you draw a blob with nice and smooth lines.

Hi Paolo
Thanks for your reply. It’s related to this I think. I’m Boeing a bit of a muppet I’m sure