It's funny how a little math can simplify a function call

from 30 lines to 5 lines.

Originally posted on yetanothergeographer.tumblr.com.

Last modified 2014.10.29