Book Image

OpenFrameworks Essentials

Book Image

OpenFrameworks Essentials

Overview of this book

Table of Contents (19 chapters)
openFrameworks Essentials
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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