void draw () {
for (int i = 0; i < points.length; i++) {
points.add(speeds);
points.x %= width;
points.y %= height;
}
loadPixels();
for (int i = 0; i < pixels.length; i++) {
int x = i % width;
int y = i / width;
pixels = getClosest(x, y);
}
It's probably in that part of it. Just started learning this shit yesterday so I literally have no fucking idea what's going on. Not a question I can google.
There's a thing at the beginning before the setup that has speed mentioned again but whenever I change that value it all crashes so that one must be important. It's 25 for some reason.