January 29, 2010 | Posted in Utilities, Website | 47 Comments.
MAMP is a great tool for running servers locally, however, when you must export that site you have been developing locally and your database is huge, then you could have some problems with PHPMyAdmin.
One solution is to use terminal. The reason that I am writing this post is so that I can reference it in the future. It always takes me more that 10 minutes to figure this out since I never use terminal, so I thought someone else may find this of some use.
I understand there are probably many ways to do this, but this works for me, so… try out the code below.
MORE INFO
November 18, 2009 | Posted in Open Frameworks | 9 Comments.
ofxTweenzor is a addon for OpenFrameworks that allows for tweening values over time. I began developing the addon because I started using OF on the iPhone and I wanted a little transition here and there. I started programming and someone mentioned ofxTween. I checked it out and turns out that it runs on poco events and right now poco is not included in the iPhone build. Being a Flash developer, I wanted some tweens and I wanted to get familiar with events in C++ and how they could be handled, which took a little getting used to. I learned a great deal about pointers and events in C++, and I still have a way to go.
Hopefully someone will find this useful, and any questions or comments are welcome.
The easing equations are from both Robert Penner and the Tweener class by Zeh Fernando, Nate Chatellier and Arthur Debert.

Download ofxTweenzor
The source includes a basic example file, and most of the following is included in there.
MORE INFO
October 5, 2009 | Posted in Flash | 2 Comments.
For my data visualization class, we were asked to visualize the New York Times Newswire API. This is a quick demo mapping the hour of the day to the number of ny times posts for each category. You can select single categories by clicking on the buttons and you can click and drag horizontally to rotate the center graphic. One of my first attempts at using papervision and it went pretty smooth, but the coordinate system is the opposite to that of the native 3D engine in Flash, OpenFrameworks and Processing. Not that I didn’t understand it, just not used to it.

Check out the quick demo.
August 10, 2009 | Posted in processing | No Comments.
Today I gave a presentache / lecture to an incoming Parsons class about Object Oriented Programming. The class is focused on Processing and contains students of varying backgrounds and skill-sets. I put together a simple demo to help with the understanding.
This is the demo that came out of the example.

A custom Ball class is created to handle all of the attributes and actions of each ball. During the setup, 100 balls are created, each given a random location and speed. The individual balls change colors based on their y positions, the closer to the top, the more red, the closer to the bottom, the more green.
Download the source here. Feel free to post any inquiries.
May 24, 2009 | Posted in Press | No Comments.
Older Posts
Newer Posts