Drawing array of curves from PVector

Thank you for your reply @hotfooted !

I also changed

to this:

for (int i = 0; i < xx.size(); i++) {
      curveVertex(xx.get(i), yy.get(i));
    }

And it started to work!

Thus, adding every new curve slows down the process by a lot! :frowning:

Also it produces a new curve form the starting point to every new coordinate. What I want is to draw 1 curve from the beginning, following every new coordinate. And repeat that for every new origin I add.

Maybe I need to do that in ParticleSystem Class instead? Or something wrong with the for loop?