An electromagnet suspends an iron ball in mid air. An IR LED and phototransistor pickup senses the position of the ball, and the associated electronic circuitry controls the current to the magnet by active feedback. Two other magnets 90° apart and 90° out of phase can cause the suspended ball to spin.