The Heritage of Giotto's Geometry: Art and Science on the Eve of the Scientific Revolution