Here’s a little mobile I built as a gift to a friend’s newborn son, to hang over his crib (I’m not sure if the parents ever decided to put it there, though. Maybe a wise decision). The little rods hanging below the apparatus have little rare-earth magnets embedded in the ends, and magnets with the same polarity are sweeping above them, repelling them and making them undulate.