import megamu.shapetween.*; CircularShaper circle; void setup(){ circle = new CircularShaper(); circle.throughPoint( 0.7, 0.3 ); } void draw(){ background(255); beginShape(); for( float i=0; i<=1; i+= 0.05 ) vertex( i*width, circle.shape( i )*height ); endShape(); }
throughPoint(x,y)