Next, we will write the graphics application code, which uses the graphics library to render graphics.