Factorized axis computation
Rasterize using painter's algorithm