The simplest thing that can be drawn with openFrameworks is a geometric primitive such as a line, rectangle, or circle. Before drawing, we should set the drawing color using the
ofSetColor function and then draw primitives using commands such as
ofCircle (they draw a line, rectangle, triangle, and circle respectively). Let's consider setting the color and then drawing functions in detail.
ofSetColor function switches the drawing color to a specified color. There are several overloaded versions of this function:
ofSetColor( 255, 0, 0, 255 );
The arguments are ...