int num = 2000; int range = 4; float[] ax = new float[num]; float[] ay = new float[num]; void setup() { size(400, 400); for(int i=0; i