Credit for the inspiration (and math) for this page belongs with this article on rec.woodworking
See the source and woodlib.pl