This simulation demonstrates the behaviour of buildings under earthquake excitation.  Notice how the buiding reacts as the frequency of the ground motion varies.  The magnitude and the frequency at which the ground shakes could be varied using the scroll bars.  Also, a scrollbar is included to vary the building's damping ratio.