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

Discovering the project's code structure

Open the project's VideoSynth folder and find the src folder there. It contains the project's source code files, as shown in the following screenshot:

Discovering the project's code structure

The project's folder contents (the center column) and its source code files placed in the src folder (the right column)

There are three source files:

  • main.cpp: This file contains the code to initiate a window and run the app. We will leave it unchanged.
  • ofApp.h: This file is a declaration of the ofApp application class, which consists of a declaration of the functions, such as setup(), update(), draw(), and some others. Currently, we do not need to add anything ...

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