NOTE: This is a very simple program, and will generate stupid output if you give stupid input. As an important example, if your bits end up being less than 2 pixels wide or so (due to trying to generate too small of a wheel with a small inner radius), they will not be filled in even though they should be. You have been warned!
More notes: If you add an index track, you probably also want to add one to the number of encoder slots to draw in the mask, if you're making a mask. Also, your number of steps should be a multiple of 2^bits, if you want a wheel that repeats nicely.
Wow, people are actually using this! If you're over 18, go to my toy store and buy something to help pay for all the bandwidth. Yes, you! Hackers (and geeks) like toys, right? :)