Return a RoI function whose radius grows with distance.
See map_to_grid for a description of the parameters.