Comparative analysis of medieval and Renaissance art