Shaper::shape()
Description
Shapes a normalized number, a float between 0 and 1, returning a normalized number usually between 0 and 1.
Example
import megamu.shapetween.*;

Shaper cosine = new CosineShaper();

beginShape();
for( float i=0; i<=1; i+= 0.05 )
  vertex( i*width, cosine.shape( i )*height );
endShape();
Syntax
shape(in)
Parameters
in
float: A number between 0 and 1
Related
setMode() clamp() noClamp()