Simple Optical/Rotary Encoder Generator

Was building a simple Rotary Encoder for the ARP platofrm yesterday. Could not find a simple tool to generate the pattern according to my needs, there were some POstscript based tools but they did not work on WIndows.