Errata

Getting Started with Processing

Errata for Getting Started with Processing

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
ePub Page COLOR - 11/21
COLOR - 11/21 (depends on e-pub settings)

Noted for print version but error persists in latest edition e-pub.
" ...The values of the parameters are in the range of 0 to
255, where 255 is white, 128 is medium gray, and 0 is black.
Figure 3-3 shows how the values from 0 to 255 map to different
gray levels.".

But it is not consistent with the actual diagram on page 24 .( Figure 3-3. Colors are created by defining RGB (red, green, blue) values)

Dennis  May 11, 2021 
ePub Page INDEX - 1/15
INDEX - 1/15 (depends on e-pub setting)

"<(less than or equal to) operator"

should be

"<=(less than or equal to) operator"

Dennis  May 11, 2021 
1
Whole book

Well I've nitpicked a bit above, so I feel obliged to state that this book has the cleanest, most reliable set of example code I've seen in years. All the examples work, with a simple cut and paste from the online Safari book to the Processing console. Nothing seems to have broken in Processing 3 since the book was published in Sep 2015 soon after 3.0 release, and the current release of 3.3 6. Working through this book on a Mac, at Sierra 10.12.6, has been a breeze, everything works as you would expect - cut, copy, paste, select all, undo, delete etc. (ie. Cmd C, X, V, A, Z, Del key), the Console, Tabs, the menu functions. This seems a very high quality language and book. Cheers.

Greg Edwards  Nov 04, 2017 
Printed Page 77
Bottom right

On page 77 of this book (as the attachment) I think the bottom right figure is wrong in correspondence with the sketch value. The first line should be written as “ rotate(-PI/6) “, not “ rotate(-PI/3) “ to get its figure below.

Aaron Nieh  Jul 27, 2019 
Printed Page 102
3rd code block

Alpine.png is not included in the download file indicated

Anonymous  Aug 01, 2016 
102
Top of code for robot5, chapter 7.

The file alpine.png is not included in the media.zip downloadable file for example robot5, in chapter 7. I see this has been reported in 2016, it's a simple fix to update a downloadable resources file, there doesn't seem much commitment here.

Greg Edwards  Nov 04, 2017 
123
Chapter 12, section Network Data and APIs (page unknown)

The API call to openweathermap.org, encapsulated in bit.ly/cin-json, doesn't work anymore.

The weather site has added a compulsory "id" to the call. The call should now have something like this appended ..

APPID=66f8bcd2d16d44b0f00f4b33aba44e38

That APPID is my one. You can register and get a free APPID on the site. Takes a few minutes to become valid.

Note: the book code can still be run on the cincinnati.json file provided in the media zip file. But I'm guessing you would still want the live query to run, to promote the large-scale live visualization message etc.

Hope that helps, ciao.

Greg Edwards  Nov 04, 2017 
123
Appendix A, section Upppercase and Lowercse

The discussion of hello vs. Hello, and then rect() vs. Rect(), has both rect calls as just lowercase rect(). Hope I'm not missing something here. It's actually quite a charming typo, ie. a case error in an illustration of how case errors happen :=)
Ciao.

Greg Edwards  Nov 04, 2017 
123
Appendix B, Data Types (page unknown, not shown by Safaro)

A tiny suggestion: the beginner programmers this book is designed for could be mystified by the range of the int and floats shown It could be good to mention that they are the range available in a 32 bit integer, and a 32 bit IEEE float.

Greg Edwards  Nov 04, 2017