Friday, November 5, 2010

Brownian Tree with AS3

I've been messing around with fractals lately. Here's a fun test I put together:



My inspiration came from here!

Tuesday, November 2, 2010

Particle System



So, I'm working on this game and they were using a super cheesy decal system to depict bullet impacts on NPCs. I came up with this app as a test to see what a pixel blood particle sys could look like:

[Instructions: Produce a projectile by clicking anywhere on the left half of the screen. If the projectile comes in contact with the sprite, a particle emitter will be placed at the point of impact.]

Try It Out Here!

I did a couple more passes of optimization for what went into production but, regardless, I'm still happy with this test. You'll see roughly 150 particles moving about at 50 FPS, not bad.

Saturday, October 30, 2010

Sierpinski Carpet with AS3

After stumbling across this wikipedia article: http://en.wikipedia.org/wiki/Sierpinski_carpet, I thought the world would be a better place if I ported it to AS3.

I'm not sure what you'll use this for but, in case you needed one, here's a Sierpinski Carpet class!

Impress your friends with stylish images such as this!



SWF here:
example

SRC here:

IsSierpinskiCarpetFilled.as

default app file (SierpinskiCarpet.as)

About Me

I produce and engineer games and applications. | Portfolio | LinkedIn