pictures here are taken from processing.org (there is a mac version too).
for calibration, you can find the python script i've built here:
http://davidegironi.blogspot.it/2013/01/gyroscope-calibration-helper-01-for-avr.html
it should works on mac too ![]()