You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Nokia N95 accelerometer in Blender


n95-blenderMarco Rapino has created a Python script to use the N95's accelerometer data in the Blender game engine.

Marco wrote:

Hi, I'm a 25 years old italian developer working in a research centre in Helsinki (CKIR). I developed this prototype which shows you how the N95 accelerometer's data can be used in Blender, thereby as an input device for the BGE. The prototype is simple I know, but the aim is to show how Blender possibilities, besides modeling, animating, composing (that is also for what I use Blender mainly for) etc. are practically endless since you can use the Python language within it. Which makes Blender, one of the most flexible software I have ever seen/worked with. You can find more informations (soon I will upload also the source code and .blend files) at my blog.

Thanks for your attention!


About the Author

Avatar image for Bart Veldhuizen
Bart Veldhuizen

I have a LONG history with Blender - I wrote some of the earliest Blender tutorials, worked for Not a Number and helped run the crowdfunding campaign that open sourced Blender (the first one on the internet!). I founded BlenderNation in 2006 and have been editing it every single day since then ;-) I also run the Blender Artists forum and I'm Head of Community at Sketchfab.


  1. @mercury:
    true, you can also use the wiimote of course, but in general Python extends so much Blender that I have some difficulties in thinking about all the possibilities, which are endless since Python can be extended using c and c++ :)

  2. Cool experiment, maybe in the future we have such a device to control the viewport. I think its best to control it with the head. Im pretty sure Sony and Microsoft are also experimenting which such devices for their game consoles and the PC will follow. The next step is to control the cursor with the eyes and make a click with a blink :)

    Btw. isnt that Wonderboy in Monsterland music in the background? Its so familiar.

  3. Wow! That's cool! It reminds me of my course at school, call "Multimedia presentation" when we learn how to use Arduino. Pretty cool trick!

  4. @Bastian:
    if you roughly think that you could attach your N95 to a baseball cap then you have what you want :D no seriously, you can do something like that using the ps3 controller. It's better than the wiimote because you can rotate on z, x and y axis (twist,roll and tilt) that are basically the movements that your head can do. Wiimote doesn't have a gyroscope, even if they promised to integrate it with the wiimote plus and that limits the rotation on the z axis. And yes, the music is from wonderboy 3 :D

    thanks! :)

  5. great thinking, This could also be used as a 3d modeler if the phone records linear acceleration precise enough. try it out with blenders sculpt function. how much is such phone :)

  6. I found an article on similar matter - haptic 3d sculpting. But it is hosted at ACM and they are not going to provide
    full free access to any resources grr... It is another form of eliticism? -articles on computer graphics as any other scientific articles should be free acessible, not hosted and prevented from any individual!!!

  7. Great hack!
    Would be fun to use this with Neverball or another Monkey Ball Clone.
    Nice choice of background music ;)

  8. This looks like it works very similar to a wii remote, would be cool if some found a way to get them implemented properly.

  9. @aktathelegend:
    lo que yo decía es que el uso que se le puede dar al teléfono es similar al control de la Wii: tal vez lo exprese mal :)
    buen trabajo el tuyo :)

  10. no ethana, it's platform independent since I used python and Blender, so the server code runs on Linux/OSX/Win while the mobile just on N95 obviously because the accelerometer :)

  11. @agile

    As long as you can access them in Python, yes they will work :) if python doesn't provide direct access to the accelerometer you need to write a connector in c/c++. do you have some device specific in mind? so maybe I can be more precise on how you could do :)

  12. This is what open source is.Everyone contributes the program according to their talents and the level of knowledge.Creating a huge sinergy which is the very essence of an open-source thing.

Leave A Reply

To add a profile picture to your message, register your email address with To protect your email address, create an account on BlenderNation and log in when posting a message.