4

Interactive Time-Based Art

In this project, you’ll explore time as a variable and put it to use as a driving force in some time-based art—that is, art that develops over time. At first, this concept may seem a bit abstract. It’s meant to! Your final sketch will be a clock, and its appearance will be based on what the code you write does over time.

By now, you’ve learned and used many of the basic structures and functions in Processing. Think of this as a chance to just play with and explore variables within your current knowledge and understanding. For example, with what you know now plus what you’ll learn in this project, you’ll be able to draw shapes at different angles, to impressive effect. I created the sawblade pattern in Figure 4-1

Get The SparkFun Guide to Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.