We first write a function that allows the object to display itself (as a white dot).
Followed by the code
void display() {
stroke(0);
point(x,y);
}
Running in the Processing IDE (1.5.1) stroke(0) displays a black dot not a white dote. (I have a vague memory of reporting the same issue in 'Learnng Processing')
Followed by the code
Running in the Processing IDE (1.5.1) stroke(0) displays a black dot not a white dote. (I have a vague memory of reporting the same issue in 'Learnng Processing')