CircularShaper::throughPoint()
Description
Sets a normalized point (numbers between 0 and 1) which the circular arc of this shaper will pass through. The circle will maximally be one fourth of a circle, points which would cause the arc to be larger will be clamped.
Example
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();
}
Syntax
throughPoint(x,y)
Parameters
x
The point to pass through in the x dimension
y
The point to pass through in the f(x) dimension
Related
CircularShaper