I
programmed a basic applet based heavily on that of the simple pendulum, but with a radiobox
‘switch’ to alternate between the vertically and horizontally driven pendulums.
The difference between this applet and that for the simple pendulum is the oscillating pivot.