A machine for reproducing earthquake motions direct from a shadowgraph of the earthquake