Mapping and controlling nucleation