Example encoder program referenced here: https://www.arrow.com/en/research-and-events/articles/rotary-encoders-how-to-pair-with-an-arduino-board along with 3D-printed knob.
Encoder used: https://amzn.to/2p1PFK6 (Amazon Affiliate) - extremely smooth.