It turned out that producing a set of involute gears requires quite a bit of geometry in addition to involutes.
Copy the following code to your web page: