A randomly oscillating magnetic pendulum is used to study chaos. The magnets can be moved about or their polarity reversed by flipping them over or can be made stronger by stacking them. A magnet at the end of a rod bounces chaotically across magnets.