Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
All we’ve done in this chapter is look at various different ways of drawing a single line: leaving behind the convenience of Processing’s built-in line function, and discovering more interesting possibilities by iterating through the line a pixel at a time. Through this mechanism, you can add some attractive flavors of variance, freeing your line from its mechanical perfection.
In the next chapter, having mastered the art of messing up a simple job like drawing a straight line, you’ll apply this technique to something a little more substantial. Prepare yourself to rediscover the joys of trigonometry, as we look at that simplest of shapes, the circle.