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 2. Creating Your First openFrameworks Project

In the previous chapter, we installed openFrameworks and learned how to build and run its example projects. It's time to start our own project! So, in this chapter, we are going to develop a sketch of the video synthesizer and explore the basics of 2D graphics with openFrameworks.

We will cover the following topics:

  • Creating a new project with Project Generator
  • openFrameworks project's structure
  • Setting up screen size and frame rate
  • Drawing geometric primitives, such as lines, triangles, and circles
  • Drawing patterns from geometric primitives

Creating and running a new project

Let's create a new openFrameworks project. The simplest way to do this is to use the Project Generator wizard included in openFrameworks ...

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