nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
914 stars 151 forks source link

Example 1.1 (Random Walker) stroke colour #278

Closed kitlane closed 10 years ago

kitlane commented 11 years ago

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')

shiffman commented 10 years ago

Fixed a while ago, closing issue