Starfield 3D Test

On Monday, I mentioned that it’s possible to use the compass and accelerometer on the iPad to create a virtual world display. This video illustrates what I was talking about:

http://www.youtube.com/v/Ci4LD5ngCdc

Actually, you don’t need an iPad to do this. You could do this with any device that has a compass and accelerometer. In fact, there are several apps that do something like this for the iPhone 3GS. But I don’t have one of those, so this was my first chance to try it out for myself. Also, the starfield looks pretty awesome on a big display. On Friday, I’ll go over some of the math used to do this effect.

2 Responses to “Starfield 3D Test”

  1. Dylan Beadle Says:

    This is great!
    Looking forward to your Friday post with some of the math. Maybe even some code? 🙂

  2. Mach Says:

    Thanks! The code is a little too involved for a blog post, but hopefully the theory behind the math will be a good starting place for other developers.