toothy.js is a library for generating cogs/gears in canvas.