In that case, it can be mesmerizing like this Arduino-driven kinetic sand table ... A pair of stepper motors connected to a CNC shield do all of the work, driving around a stack of magnets ...
An Arduino with a CNC shield takes care of driving the motors, and the G-code needed to do so is generated by a simple spreadsheet that takes into account the number turns desired, the number of ...