Cheap sensor for angular rotation (not rotation rate)

Here is an example of a 4 bit Gray encoder disk for reflective sensors.