The function maps inputs within a certain distance of the origin to different outputs.

