Hero image

Order of Drawing

What the code does

This demo explains about sequential drawing. This is key to drawing multiple objects to the screen e.g. overlapping objects. It also demonstrates how to draw multiple objects in a single line of code. This is far more efficient than many seperate lines of code, or the use of a for loop.

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image