OF class + addon
I use the serial communication’s sketch(http://lizastark.com/cclabfall2012/?p=982) and “translate” the processing code into OF.
Here the git hub link
https://github.com/yangfeng620/CClab_Yang
The most difficulty is the “translation” part. I used documentation on openFrameworks to figure out most of the code. http://www.openframeworks.cc/documentation/.
And I also found some useful resources to understand easier.
http://vormplus.be/blog/article/introduction-to-openframeworks
https://vimeo.com/49204516