O'Reilly logo

Mastering openFrameworks: Creative Coding Demystified by Denis Perevalov

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

Appendix B. Perlin Noise

Perlin noise is the algorithm for generating a series of slowly changing random values that behave just like the parameters of live motion of a living creature. It is one of the most used algorithms in computer graphics. It is used for random object movement, texture generation, and so on. Many examples in the book are essentially based on using Perlin noise. In this appendix, we will find out what Perlin noise is and how to use it in openFrameworks projects; we will cover the following topics:

  • Perlin noise basics
  • Using the ofNoise() function
  • Space-coherent noise

Perlin noise basics

Perlin noise is the algorithm used for computing values of a pseudo-random function, smoothly depending on its parameters. It was originally developed ...

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