As shown by the quick proliferation of accurate perspective paintings in Florence, Brunelleschi likely understood (with help from his friend the mathematician Toscanelli), but did not publish, the mathematics behind perspective. Decades later, his friend Leon Battista Alberti wrote "" (), a treatise on proper methods of showing distance in painting. Alberti's primary breakthrough was not to show the mathematics in terms of conical projections, as it actually appears to the eye. Instead, he formulated the theory based on planar projections, or how the rays of light, passing from the viewer's eye to the landscape, would strike the picture plane (the painting). He was then able to calculate the apparent height of a distant object using two similar triangles. The mathematics behind similar triangles is relatively simple, having been long ago formulated by Euclid. Alberti was also trained in the science of optics through the school of Padua and under the influence of Biagio Pelacani da Parma who studied Alhazen's "Book of Optics". This book, translated around 1200 into Latin, had laid the mathematical foundation for perspective in Europe.