In painting, a whim or capriccio means an architectural fantasy, placing together buildings, archaeological ruins and other architectural elements in…