Example: A Fun Way To Display Chart Data Using The Chipmunk Physics Engine And iOS Accelerometer

Charting on iOS is a topic that I’ve covered in the past, and I have mentioned several different open source libraries for displayg charts on the iOS platform.

Today I came across an interesting example with source code on how to create an interesting type of chart where you can use the size of different physics enabled balls, or a number to specify different data sizes, and the example responds to device orientation.

Overall it makes for an interesting and fun way to display data.  Here’s a video showing the example source code in action:

The example is from Hon Cheng, and you can read more about it on his website, and download the source code on Github here.

A nice simple example of using the Chipmunk physics engine, and accelerometer  to make displaying data that much more interesting.

©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail


Leave a Reply

Your email address will not be published. Required fields are marked *