Voronoi Diagram Experiments
|
|
Source Code |
Features (API) |
I've been exploring ways to dynamically fracture shapes into smaller chunks that could be chipped away or exploded
as part of a 2D physics game I'd like to make (eventually). I accidentally stumbled upon voronoi's via wikipedia and decided it was the most promising approach for various reasons. Two weeks
later I was still distracted from my goal, playing with the voronoi and seeing what else could be accomplished. I owe an enormous thanks to Alan Shaw for his AS3 port of
Steve Fortune's original sweep line algorithm for quickly calculating voronois. |
|
|
|
The Songstack
|
|
Source Code |
Features (API) |
The Songstack is a music blog I created using jQuery. It was my first attempt at a cross-browser
web application that didn't rely on flash. JPlayer is used to serve the audio. I used its event model to drive the custom controls. It should work in Chrome, Firefox, Safari, and IE. It should also
work on the iPhone/iPad, and I plan on creating alternate CSS files for a better layout on mobile devices. |
|
|
|
MOTO Physics Game
|
|
Source Code |
Features (API) |
This is a game created with AS3 and a ported version of the Box2D physics engine. I was recently in a motorcyle accident and decided to spend some of my recovery time reliving it ;)
NOTE: This is a very, very early work in progress (more of a proof of concept really), so expect bugs. |
|
|
|
Image Extruder
|
|
|
Features (API) |
A Papervision 3D experiment I did to get some experience in both papervision and image byte coding. The image extruder was written for a quarterly potluck/party we have called StuffYerFace. It evaluates the brightness level of each pixel in an image (actually every 4 pixels...). It then draws a plane representing that pixel in 3D space of varying size and
z-depth in direct relation to that pixel's brightness. This is essentially replicating the functionality of a bump-map.
The 3D view can be rotated, amplitude can be adjusted in real-time, and users can also save a jpeg of their extruded image.
*Note:
Works best with high-contrast images.
Thanks to Pickle from
www.allflashwebsite.com for the autoOrbit classes! |
|
|
|
Augmented Reality Mustache
|
|
Features (API) |
The StuffYerFace Mustache Ride (also created for a potluck party) uses Augmented Reality to add a virtual mustache to a user's face via their webcam and a tracking marker. I textured the 3D model provided by a friend (Devin Price), which is then imported at runtime to flash. The Augmented Reality classes track the specified marker in the screen and calculate any position and transformation information, and then apply that transformation back to the 3D model to have it track the marker in real time (this is all functionality utilized in the FLAR toolkit).
The user can use the save button to generate a personalized JPEG keepsake with a StuffYerFace banner attached.
*Thanks to Devin Price for the mustache model! |
|
|
|
Connector Class
|
|
|
|
Features (API) |
A Connector object takes two display objects as parameters and draws a breaking line between them based on their proximity to one another. Useful for diagramming or establishing parent-child relationships. The connecting line is also customizable, with options to change color, thickness, arrowhead, and reverse direction entirely. |
|
|
|
ZoomPane Component
|
|
|
|
Features (API) |
ZoomPane is an ActionScript 2.0 component functioning similarily to a ScrollPane. All parameters can be set in the parameters panel in flash or through actionscript. Default zoom-in/zoom-out buttons and mouse icon are provided, but can be specified by the user. Users can either click or drag a marquee to choose the focus point to zoom in on.
*Note: marquee code taken from Senocular.com |
|
|
|
Timeline Aid - Flash Extension
|
|
|
The Timeline Aid is a Flash Extension written in JSFL. It assists with importing timeline event entries from a tab delimited text file made in excel. It can help align entries in a step pattern and draw connecting lines from selected entries to the timeline's spine. In the tools panel, there is a Multiswapper that can swap all selected symbols with a specified symbol, and an Instance Namer that can give each selected item an instance name matching its library name, provided that the item doesn't already have an instance name.
See It In Action! |
|
|
|
The Ghostwhisperer Promotional Game (Freelance project for CBS)
|
|
This was a promotional game created for season 2 of CBS' TV show The Ghostwhisperer. My work partner Hamzah Jamjoom was responsible for graphics while I was responsible for all programming, interactivity, and synching. Created in Actionscript 2.

Play the Game! |
|
Graph Class
|
|
|
|
Features (API) |
The Graph class consists of 4 classes: Graph.as, DataPointSet.as, DataPoint.as, and Node.as. It was written in AS2 and was my first object oriented experiment in Actionscript (so be forgiving!). It is highly controllable and customizable, from the gradient colors to the line visibilities. All properties can be updated in real time, as shown in the example. The data also has the ability to animate!
|
|
|
|
|