Cognition and the visual arts