A spaceflight simulator