showPendulum(x=nil, y=nil)
Instance Public methods
This procedure makes the pendulum appear at the correct place on the
canvas. If the additional arguments x, y are passed instead of computing
the position of the pendulum from the length of the pendulum rod and its
angle, the length and angle are computed in reverse from the given location
(which is taken to be the centre of the pendulum bob.)