nullthing

title.swf
Just another WordPress weblog

Archive for the 'ActionScript' Category

Circle Packing_2

cpack.jpg

I finally got around to getting this to work in flash. Its based on a great processing model here:Crickets Chirping. I think it could be used as a pretty interesting interface. We have a couple of ideas that we are throwing around for this. It was fun to finally sit down and sort it out. The speed difference between java and flash is pretty amazing. The processing code runs the packing algorithm 50 times per frame, I run it 5. The accuracy is fine for our needs, but the difference is crazy.

Source:  circlepack.fla

Check out the *.swf

3 comments

Trees

tree.jpg

nodes2.jpg

Here is something I am working on in flash to create a graphic. It uses a simple recursive branching structure to create random clusters of lines.

branch.jpg

Unfortunately still can’t export actionscript generated images as vectors. We needed the image in vectors so I wrote the script in MEL. I think I will use this as chance to jump start processing here (I know you can export vector frames).  Also think it would be interesting for everyone to compare the three methods for creating the same thing.

Download Source:

Flash: branch.fla

MEL: branch.mel + stem.mb

No comments

EFGH

efgh_12.jpg

efgh_comp1.jpg

We helped out our friends, EFGH, with their website. The site has a background of “pixels” that cycles through randomly generated colors. Also, if you are in NYC, you should grab a gourmet  sausage at one of their recently completed project, Dogmatic on 17th street between Union Sq. and 5th Ave.

Check out the source below for a simple version of the background.

Download source: color_ch.fla

Check out the *.swf

No comments

Exploding Beauty

beauty1.jpg

beauty2.jpg

Don’t have too much to say about this… check out the *.swf in the extended post and the file below.

Source:exploding_beauty.fla

Check out the *.swf>>>

No comments

Circle-packing… round 1

no-color.jpg

color.jpg

I have been meaning to do it for a while, and I have finally gotten around to messing with some circle-packing methods. We are working on a site in the studio that is evolving into a circular navigation system and we might need some of these behaviors. This method is based on steps I found on Andrew Kudless’s site MATSYS. I am going to try write this in MEL (2d&3d) in the next couple of days and I’ll post that as well. I think we may need something with interaction between multiple circles. Like this: http://www.cricketschirping.com/processing/CirclePacking1/

I am going to try and figure that out next…

Source: cpack1.fla

Check out the *.swf >>>

No comments

Get your finger out of my color!!!

cpixker.jpg

Made a color picker in flash… possibilities are endless!!!!

Source: cpixer.fla

Check out the *.swf >>>

No comments

Fade to Color

color_01.jpg

I have been messing around with color a lot lately (especially in Flash). Its pretty fun. My inner architect isn’t happy about it, but I don’t care. Architects should take themselves less seriously. I think the first step is to use more color (and your tie doesn’t count) .

Source: color_01.fla

Check out the *.swf>>>

1 comment

Pinkian Motion

pinky1.jpg

I adjusted a Brownian (botanist Robert Brown) motion *.fla that I found here . I added a couple of more “snakes” and added an input for a “nice” 4 letter word. Using the BitmapData class the movie grows a flower (thanks to MAYA’s paint effects) when ever one of the pink snakes intersects the text… sweet!!! Check out the source.

Source:pinky.fla

Check out the *.swf >>>

No comments

Bitmap 2-luma

bitmapluma.jpg

55563889_bbcd76ef27.jpg

I adjusted the scale of the tiled _mc based on the luminosity of the pixel it samples.

Source: bitmap+luma.fla

No comments

BitmapData…HairyScary

hairyscary1.jpg

image.jpg

I finally got around to learning how to use the BitmapData Class. It is pretty easy, just haven’t been able to take the time to sit down and check it out. You can easily build some of the same functionality that Scriptographer produces with illustrator. Of course, with flash you can add animation(a little bit of animation makes everything taste better). I was inspired to figure this out after downloading Joshua Davis’s 2007 presentation. He is amazing for making every thing accessible. It would be great to see him speak, but the presentation works on its own and it shows his technical approach as well as his attitude. There are some great animations that use an image of Chuck Close’s face to produce vector graphics.

Image is from American Apparel… love their ads, sexy/cute/normal/real girls… until someone like me geekifies it.

Source: Bitmap.fla

Check out the *.swf >>>

2 comments

Next Page »