shiffman / LearningProcessing

A repo for examples from the book Learning Processing
http://learningprocessing.com
606 stars 276 forks source link

Exercise 1-4 #192

Closed plnwtn closed 8 years ago

plnwtn commented 8 years ago

Shouldn't the last line of the answer to the exercise be rect(100,100,200,200) rather than rect(100,100,100,100) as shown in the answers?

shiffman commented 8 years ago

Good question! The second two arguments refer to the width and height, not the xy location of the bottom corner. Try it in Processing and you'll see!