pendulum on a string

Back in November 1983 I published a computerised pendulum project. It was simply a wire wound pot with a rod attached. The rod swing like a pendulum and you read the value of the pot through the analogue input port and plotted the values on the screen. You got a perfect sin wave that decayed. You could lengthen the rod to change the frequency.