The image you see is rendered using only pen and color buffer. What is a color buffer? Color buffer is commonly a list that if presented as a 1D array as here, has length of screen width * screen height. Why use color buffer? Color buffer has many pros but also cons. Pros: realistic results, easy handling, flexibility. Cons: heavier to compute and render.