CircularShaper

CircularShaper is a function which creates a circular arc which optionally passes through a point. A CircularShaper will default to IN, however it can be set to be any of the three other modes. CircularShaper may be modified using throughPoint().

May be referred to as Tween.CIRCULAR for use in setEasing().

Constructor
CircularShaper()
CircularShaper( shapeMode )
CircularShaper( shapeMode, transition )
CircularShaper( shapeMode, transitionX, transitionY )
Parameters
shapeMode
int: a shaping mode such as Shaper.SIGMOID
transitionX
float: sets the transition point in the x dimension for SIGMOID and SEAT
transitionY
float: sets the transition point in the f(x) dimension, for skewing the transition
Methods
throughPoint()
Alters this circular arc to pass through this point
Implementation
f(x){
  1 - sqrt(1 - x*x);
}
Related
Shaper