O'Reilly logo

Learning Processing, 2nd Edition by Daniel Shiffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13

Mathematics

If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.

—John von Neumann

If you were cosine squared, I’d be sine squared, because together we’d be one.

—Anonymous

In this chapter:

 Modulus

 Probability

 Perlin noise

 The map() function

 Trigonometry

 Recursion

 Two-dimensional arrays

Here we are. The fundamentals are finished, and I am going to start looking at some more sophisticated topics in Processing. You may find there is less of a story to follow from chapter to chapter. Nonetheless, although the concepts do not necessarily build on each other as fluidly as they did previously, the chapters are ordered with a step-by-step learning approach in mind.

Everything I do from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required