Chapter 2. Drawing in 2D
Drawing is one of the main capabilities of openFrameworks. Here, we consider the basics of 2D graphics, including drawing geometric primitives, working with colors, and drawing in an offscreen buffer. In this chapter we will cover:
Geometric primitives
Using ofPoint
Coordinate system transformations
Colors
Using FBO for offscreen drawings
Playing with numerical instability
Screen grabbing