-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Mastering openFrameworks: Creative Coding Demystified
By :
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:
Drawing text using the function ofDrawBitmapString()
or the class ofTrueTypeFont. See the openFrameworks example examples/graphics/fontShapesExample.
Drawing filled shapes using the functions ofBeginShape(), ofVertex(), and ofEndShape()
. See the openFrameworks example examples/graphics/polygonExample.
Creating PDF files with openFrameworks drawings. Such files will contain vector graphics suitable for high-quality printing purposes. See the openFrameworks example examples/graphics/pdfExample.
For deeper exploration of the world of 2D graphics, we suggest the following topics:
Using Perlin noise for simulating life-like motion of objects. See Appendix B, Perlin Noise.
Using the algorithmic method of recursion for drawing branched structures like trees.
If you are interested in playing with generative art, explore the...
Change the font size
Change margin width
Change background colour