Generate your own bicycle chainring
These calculations are based on the document JWIS chain engineering handbook