Not really a 3D Cube, But I think I faked it pretty good. There are two scripts in this package. Both written in Python with Pygame. One is for use with the touch screen (or mouse if you run it on your desktop/laptop) The other is the same thing, but it uses the accelerometer in the N900. Watch a Video of it here and then Download it here!