/** * how to use Ani in your own classes. * besides the examples shows also the use of: callbacks, setRepeat() and setPlayMode(). * */ import de.looksgood.ani.*; Cirlce[] cirlces = new Cirlce[5]; color from = color(255, 8, 8); color to = color(8, 187, 255); void setup() { size(512,512); smooth(); noStroke(); textAlign(CENTER); // Ani.init() must be called always first! Ani.init(this); for(int i=0; i