Tuesday, June 09, 2009

AS3 Visual effects through BitmapData.getPixel()

I know lots of other people have created similar effects too. I just haven't done it myself. Here's an interesting effect you can get from the BitmapData.getPixel().

I'm creating a grid of squares to represent an image captured from the web camera and changing the size of a squares based on the corresponding color value.




If you don't have a web camera. No web cam?



Here's the code.

No comments: