Earthquakes and Volcanoes
When plates collide or slide past each other, stress builds until rock fractures and energy spreads as seismic waves. The focus is the underground source and the epicenter is the surface point above it; P-waves arrive before S-waves. Earthquakes and volcanoes concentrate along plate boundaries, and larger magnitudes send waves farther. Here you can change the magnitude slider and watch P- and S-waves spread from the focus.