Algorithm

Explain the painters algorithm as related to computer programming.