There’s a blog by Simon Whitehouse and also¬†a mathematics paper by Sylvain Sardy and Yvan Velenik that explains all the maths involved.

Even better, some clever chap at codhesive.com has come up with a fantastic visual representation of this valuable work.