I'm using Processing to create animations involving up to several thousand objects. It starts to get slow after about a thousand objects or so, and it's pretty clear why: the compiler has to calculate the position of each object in every frame. I would like to somehow do all of the calculations up front and then just display the resulting frames one after the other. Is there a slick way to do this?
I'll note that I'm coding in Java using the core libraries rather than the IDE, if it helps.
I'll note that I'm coding in Java using the core libraries rather than the IDE, if it helps.
1