A rotating torus

I thought it would be fun one night to write a 3D engine in JavaScript. The next afternoon, I had this. Originally posted to kragen-hacks in February 2007

Problems

It's not perfect, for sure; I mean, heck, I spent less than a day on it. In case I come back to it later, I made the following list of its biggest problems.