In this chapter, we considered the basics of raster graphics. We began with loading and drawing raster images and video files and also captured video from a camera. Then, we implemented the video mixer, which mixes all these pictures using additive blending. Next, we directed all drawing to the offscreen buffer and processed its contents with the shader-based kaleidoscope effect.
With this chapter, we are done with considering the basics of 2D graphics in openFrameworks. Now, we have a video synthesizer, which generates 2D vector graphics, mixes it with raster graphics, and processes the resultant picture with the shader effect.
In the next chapter, we will explore a different kind of graphics—3D graphics. We will draw the sphere surface in 3D and will use our 2D graphics to texture it and deform its shape.