Rolling Digits

Does anybody know how to handle rolling digits, particularly in pixel art? I’m referring to numbers on a wheel increasing. In old vehicles, you would see the numbers slowly change to the next number so you would find yourself looking at two halves of different numbers. For example, in 123 as the mileage turned to 124 you would at some point between see the top half of the 3 and the bottom half of the four.

Anyway, if anybody has ever done that, I would love to know how you handled it.