Most rotary encoders are composed of a glass or plastic
code disk with a photographically deposited radial pattern
organised in tracks. As radial lines in each track interrupt
the beam between a photoemitter-detector pair, digital
pulses are produced.