Open mroglic opened 8 years ago
I am not sure if I am missing something, but here is the simple example when Ani.from doesn't work at all when I set delay greater than 0:
import de.looksgood.ani.*; float x = 10; float y = 10; void setup() { size(300, 300); Ani.init(this); } void draw() { background(255); fill(#ff0000); ellipse(x, y, 20, 20); } void mouseReleased() { float delay = 1.0; // Ani.from doesn't work for delay > 0 x = 10; Ani.from(this, 2.0, delay, "x", mouseX); }
I am not sure if I am missing something, but here is the simple example when Ani.from doesn't work at all when I set delay greater than 0: