Text this: The law of refraction and Kepler’s heuristics