Plotting a lot of points
in
Programming Questions
•
1 year ago
I have a simulation that computes and stores x coordinates in one array, and y coordinates in another array. Then I have a for loop that draws each point to the screen.
The problem is that this makes the plotting very slow because of the large amount of points that are being generated which have to be looped through.
Is there a library in Processing that will take in a vector, like an array, and plot the values to the screen instantaneously without having to loop through the array each time?
1