Tween::time()
Description
Returns the current time of this tween, a float number between 0 to 1. time() is always linear from 0 to 1, and is not affected by the easing shaper function.
Example
import megamu.shapetween.*;

Tween ani;
void setup(){
  ani = new Tween(this, 2);
}

void draw(){
  background(255);
  ellipse(ani.time()*width, ani.position()*height, 4, 4);
}
Syntax
time()
Related
position()
seek()