calculations, extremely basic paint