SetupDraw

Results 5 issues of SetupDraw

Hi there, I am getting a popup alert message & #P5JS editor restarting over and over again. here you can view the message: pic.twitter.com/BVr5E86BNw I am running on a mac...

In some Nature of Code examples regarding group steering behaviors (Chapter 6) I noticed that, for averaging the velocity of all the vehicles/boids at play, you do some vector math...

code

page 340. The script is missing a line of code: after video = new Capture(this, cols, rows); there should be video.start();

page 292 of the book there is an endShape(); towards the end of the script, I think should not be there.

Figure shown in the picture isn't accurate as the "vertex of the inverses pyramid" should touch the base of the sketch window, being stage size(400, 200), and point A coordinates...