Hi everyone…

I’m using discrete fourier transform to draw epicycles with processing library in Java. It looks like this :

It is basically bunch of circles rotating in harmony to draw something.

I have an ArrayList path which I follow:

```
beginShape();
for (int i = 0; i < path.size(); i++){
vertex(path.get(i).x, path.get(i).y);
}
endShape();
```

What I want is to slowly zoom into the last element of this path, and see further the smaller circles up to the last one.

I tried translate() and scale() functions with various of combinations but I haven’t made any progress. Could anyone give me an idea how to do it?

**Edit:** Here is the source code : https://github.com/supernatrium/Epicycles_Java