ChapterOpener.jpg

Chapter 9

Painting with Bits

Pictures, or digital images, are an important part of digital artwork. In Chapter 2 we saw how to load an existing image into one’s sketch to use as a background or as a component of the sketch. In other words, we are using the images like another drawing primitive. In this chapter we will learn how to create or modify the images themselves. In addition to providing an introduction to Processing’s pixel buffers and pixel processing, we will also cover multi-dimensional arrays, bitwise operators, and emergent systems.

Digital Images

In the digital world, a (raster) image is simply a rectangular grid of dots, often rendered ...

Get Processing: Creative Coding and Generative Art in Processing 2 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.