T 180 # We begin the path with an initial angle of 180 degrees A 250 288 L 200 # An arc of 250 cogs and 288 degrees and # a line of 200 cogs A 250 288 L 200 # 5 times A 250 288 L 200 A 250 288 L 200 A 250 288 L 200 X # Center the path on the paper W 0.2 # Pen with 0.2 points D 125 # Disc of 125 cogs H 120 # And hole 120 V 0 18 20 # Deviation of 0 degrees and increments of 18 degrees # 20 times R 50 # Resolution N # Count the number of cycles required close the disc's drawing C 255 0 0 > 0 0 255 10 # set the color Red -> Blue 10 values + 0 0 255 > 255 0 0 10 # and then Blue-> Red 10 values G 20 D -125 # now, set the Disc "inside" the path H 120 # deviations changes sign G 20