<Painter's Algorithm>= public void painter() { sort objects by z; for all objects { for all pixels (x, y) { paint z; } } }