How to implement painting
Painting children, painting a canvas, and pushing layers

TODO: