ofCurveVertex join tips

Hy all !

I have spend a lot of time to create a nice “blob” shape but I don’t find the good way to join first and last vertex.

I know that there is some addons to do that (ofxShivaVG) but I’m looking for a light solution.
I just want create nice smooth shapes and be able to move each points.

thank you

I have find a way that can make the job for my case.

ofFill();
 //ofSetColor(0,255,0);
ofEnableSmoothing();
ofEnableAntiAliasing();
ofBeginShape();
ofVertex(radius,0);

float x1 =  cos(ofGetElapsedTimef()*moveFreq+1*10)*moveAmplitude;
float y1 =  sin(ofGetElapsedTimef()*moveFreq+1*10)*moveAmplitude;

float x2 =  cos(ofGetElapsedTimef()*moveFreq+4*10)*moveAmplitude;
float y2 =  sin(ofGetElapsedTimef()*moveFreq+4*10)*moveAmplitude;

float x3 =  cos(ofGetElapsedTimef()*moveFreq+3*10)*moveAmplitude;
float y3 =  sin(ofGetElapsedTimef()*moveFreq+3*10)*moveAmplitude;

float x4 =  cos(ofGetElapsedTimef()*moveFreq+4*10)*moveAmplitude;
float y4 =  sin(ofGetElapsedTimef()*moveFreq+4*10)*moveAmplitude;

 ofBezierVertex(radius,radius*0.75,radius*0.75+x1,radius+y1,0,radius);
 ofBezierVertex(-radius*0.75,radius,-radius*0.9 +x2,radius*0.75 +y2,-radius,0);
 ofBezierVertex(-radius,-radius*0.75,-radius*0.75+x3,-radius+y3,0,-radius);
 ofBezierVertex(radius*0.75,-radius,radius+x4,-radius*0.75+y4,radius,0);
 ofEndShape();`indent preformatted text by 4 spaces`

This create 4 fixed points with animated curves.