P.S.
I find it hard to find rotary encoders which have more then 20 pulses per rotation; what I do find are potentiometers, aren' t they (being variable resistors, thus voltage-changers) suitable for my intentions? And what resistance should I take, 10KOhm, 500KOhm etc?