This blog is a living digital document about the design of the things I've done, the things I'm doing, and the occasional thing that does not yet exist.
-Cameron Browning
me [at] cameronbrowning.com
Ported Robert Penner's elastic ease into processing.
Animated Embed and Source Code after the jump... read more »
Robert Penner's Easing Equations have been built into Flash since version 6 or 7 as the Tween class (search your Flash directory for Tween.as). But before those days, we had to do things manually. Penners equations in Actionscript are available for download here, with a nice little application to visualize each one here. This is great for when you need to port tweening into a different language like Processing or Openframeworks...
My bank cards have been erased. Oops!
Managed to get Theo Watson's Vector Field example up and running...
This is important as it will allow the digital creatures in my thesis game to stay within level boundaries that I define. The dart throws will modify the vector field, coaxing them to move out of bounds, which kills their asses.
In 2005, Gary Stasiuk gave a lecture at FITC about his Digital Creatures project. It was a fantastic learning experience, and one of my first introduction to thinking formally about Boids. Google helped me find the original presentation, which is full of lots of helpful algorithms that I'd like to integrate into my thesis game... like proper flocking, not just neighbor avoidance...