From Giotto to Instagram influencers, centuries of artists have used this technique to inspire desire and unease in their viewers.