shiffman / LearningProcessing

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

Exercise 1-2: Solution missing/unclear #209

Open CreativeCode opened 7 years ago

CreativeCode commented 7 years ago

Hi,

One part of the answer to exercise 1-2 is not clear to me. The exercise asks the learner to draw the shape ellipse(3,7,4,4); on the graph paper. The problem is that the width/height is an even number. With an uneven number (e.g., 5) this would be easy, and is shown in fig.1.10. However, how do you draw an ellipse with the center at (3,7), which is 4 pixel wide and high? I assume you can not use half pixels to truly keep the center at (3,7)?

Many thanks and kind regards, Hanna