You can move the camera or move the subject ... lead screw to move a carriage up or down. An Arduino Nano acts as the brains, a stepper motor drives the lead screw, and a small display shows ...
This is why we often see the Raspi paired with an Arduino here on Hackaday ... a split screen display, and a camera on the stepper motor, [Andreas] walks us through several common timing hazards ...