Check out Phil uk's link to see the piece of equipment I need. I just wanted to know a DIY way to achieve it.
Just pulling this outta my kiester, so bear with me.
Not knowing what camera we are talking, I'll just generalize somewhat.
Start with 2 old 20-26" bicycle rims.
Remove all spokes and the hubs if necessary.
Generate a mount for your camera with attachment points on 4 sides. So think of it as maybe a lightweight frame you are building, similar to a cage but special purpose. I would probably use Al angle iron or something similar.
Drill and Fab to suit. The goal is to have one rim in front of the camera and another at the rear so that the whole thing will roll on the appropriate axis (ie, the camera is looking through the front hoop)
Find yourself some old cargo rollers, or rubber wheels, or whatever would be suitable. Fabricate a platform such that your hoops rest between 2 rolling surfaces in a stable fashion.
Spin at your desired rate.
You will want the whole thing heavier than you think so that it is more stable.
At least my first try would be something along those lines.