Friday's 8.9 magnitude earthquake in Japan triggered a tsunami that has wiped out large areas of the northern part of the country. Here is a computer animation that explains how tsunamis are formed.