An off-screen bitmap buffer

An off-screen bitmap buffer is created in memory.

Dimensions are 256x256.

Nested for loops are used to set the color values for each pixel in the buffer.

An onscreen graphics window with dimensions of 256x256 is also created. 

Once the color values for all pixels in the off-screen bitmap buffer have been set: