The colors are wrong in the code comments in the exercise. This:

background(255);  // Black background
stroke(0);        // Shapes have white lines

should be:

background(255);  // White background
stroke(0);        // Shapes have black lines