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

Random Walker canvas size mismatch

scotthmurray opened this issue · 3 comments

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.

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.

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.