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

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

Random Walker canvas size mismatch #351

Closed scotthmurray closed 8 years ago

scotthmurray commented 10 years ago

A very minor mismatch between the text of the book and the example code:

In section I.2, when Example I.1 is introduced, setup() indicates:

  size(640,360);

…yet the dimensions in the Example I.1 code are different:

  size(800,200);

The latter is reflected (correctly) in the screenshot shown in the text shortly thereafter.

shiffman commented 10 years ago

Yeah, so my intention is to have all the examples in the example repo 640,360 but the actual screenshots/canvas elements for the book are 800x200. Not sure which is best to include in the text or just to leave out size(). Not sure if I was at all consistent throughout book.

scotthmurray commented 10 years ago

Great! I'll keep an eye out for any inconsistencies and report back here. To me, it may be worth a brief side note, along with the first example, introducing this difference.

shiffman commented 8 years ago

Now tracked: https://github.com/shiffman/The-Nature-of-Code/issues/100