In this chapter, we have considered some of the basic topics of 2D drawing. For reading further on openFrameworks 2D capabilities, we suggest the following topics:
ofDrawBitmapString()
or the class ofTrueTypeFont
. See the openFrameworks example examples/graphics/fontShapesExample
.ofBeginShape()
, ofVertex()
, and ofEndShape()
. See the openFrameworks example examples/graphics/polygonExample
.examples/graphics/pdfExample
.For deeper exploration of the world of 2D graphics, we suggest the following topics:
If you are interested in playing with generative art, explore the huge base of Processing sketches at openprocessing.org. Processing is a free Java-based language and development environment for creative coding. It is very similar to openFrameworks (in a way, openFrameworks was created as the C++ version of Processing). Most of the Processing examples deal with 2D graphics, are generative art projects, and can be easily ported to openFrameworks.