This is my son's 7th grade science project. It's obviously not woodworking, but it was mostly constructed in the garage. It is a magnetic levitation device. The floating objects have rare earth magnets attached to them, and they levitate under the electromagnet. A sensor monitors the position of the object, and an electronic controller continually switches the polarity of the electromagnet as needed to keep the object in place. So far, we've only kept it on for 15-20 minutes at a time to protect the controller from overheating, but as far as I know, it will stay afloat as long as the power is on.