The frame rate in my app is considerably low when I am drawing about 200-300 ellipses on the screen at once. About 15-20 fps. The ellipses are really tiny—with a diameter of 4 pixels in Codea. Is there a way to increase the frame rate? I have read past discussions, and enabled noSmooth() and even tried using pre-rendered images, but it doesn’t help as the frame rate is well below 30.
Here’s some background information:
Without drawing the ellipses my frame rate is at a full 60 fps, so I know that the frame rate drop is because of the ellipses. I am also using a for loop to iterate over the positions in the table, but every ellipse doesn’t have it’s own position in the table, but rather the sequence of ellipses have their own position. Any advise would be greatly appreciated!
I don’t think the code is the problem, but rather the ellipses being drawn in the screen at one time. However, I’ll post the code later as it is rather long and is scattered across my app.