Solenoid Artistic Function - Magnet and Glass Tube

thanks for the ideas. I think suspension of a magnet spinning in one spot would be easier to perform. I've seen the magnetic barbell that would spin above a concave base. However back to the idea of making the magnet float. What if I just have sections of coiled wire and I power the sections on each side of the magnet with a repelling force. Then I change which sections repel to get the magnet moving.