I'd like to thank Brian Conrad, whose many helpful suggestions improved this applet a lot.