Tuesday, December 9, 2008

ZSorter - Bunny Squad Cards



View SWF

Download FLA
CJLibrary CS4

What would you do if you want to create a simple 3D carousel effect like this?
Use Papervision3D you say?
I would say it's a waste of CPU resource.

For simple 3D effects such as the example above,
using more light-weighted Z-sorting engines would be a better idea.
So I wrote my own ZSorter class which does just that,
implementing the easiest Z-sorting algorithm: The Painter's Algorithm.

Monday, December 8, 2008

Flag Distortion



View SWF

Downlaod source
CJLibrary CS4

I've added a wind effect to my Fenozix physics engine.
Combined with DynaShape, I created this flag distortion effect.
The principle behind this is rather simple:
I created the nodes and the spring links among them with Fenozix.
Then I visualized the flag through DynaShape.drawTriangles().