mechanical pencil
a four-bar linkage with a pencil on the end of one bar.
turn the crank
the red dot is the pencil. the two open circles are the fixed pivots, so you can move them. the faint dashed line shows where the pencil will go next. older drawings stay behind, faintly.