O'Reilly logo

openFrameworks Essentials by Denis Perevalov, Igor Tatarnikov

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

Chapter 6. Animating Parameters

Most of the control parameters of our project are represented as GUI sliders. Until now, we adjusted them only manually using the mouse. In this chapter, we will discover several ways to automate sliders by covering the following topics:

  • Using time values for a parameter's automation
  • Using Perlin noise
  • Playing an audio file, capturing the sound from a sound card, and measuring the sound level
  • Reading and parsing data from a text file

At the end of the chapter, we will obtain a project that generates animated visuals, reacts on a prerecorded or captured level of sound, and reads a parameter's values from a text file containing neural data recording.

Tip

In our examples, we will consider the automation of GUI sliders only, ...

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