Hello, let me explain my situation and maybe you can help me. I have a database containing data for thousands of shapes, many of which will eventually be drawn outside my visible 500x500 sketch window. Presently I'm able to navigate through a dozen or so test shapes by dragging the mouse around, like one might do when dragging the mouse in Google Maps to see new image data.
So I guess my question is, should I worry about Processing handling so many shapes at once or not? Should I try to write something to draw them only when they are inside the visible window to boost performance, or is it okay if I make a .pde file with thousands of shapes written inside the draw loop? I'm actually using processing.js if that makes any difference.
I'm new to programming and not quite sure how to approach this. Any advice on databases, etc or references to other resources would also be greatly appreciated. Thanks for your input.
So I guess my question is, should I worry about Processing handling so many shapes at once or not? Should I try to write something to draw them only when they are inside the visible window to boost performance, or is it okay if I make a .pde file with thousands of shapes written inside the draw loop? I'm actually using processing.js if that makes any difference.
- beginShape();
vertex(0, 0);
vertex(-250, -250);
vertex(-200, -210);
vertex(-150, -250);
endShape();
I'm new to programming and not quite sure how to approach this. Any advice on databases, etc or references to other resources would also be greatly appreciated. Thanks for your input.
1