Categories
-
Recent Posts
-
RSS
Tag Archives: BitmapData
Dynamic Mask And Image Comparison Part 1
This is Part 1 of a tutorial/example regarding image comparison. To be more specific, we’ll be determining the differences in channel data using BitmapData.histogram();
In Part 2, you’ll see the end result which is: A user can click-and-drag to dynamically ‘paint’ a mask over an image. As the user paints, more of that hidden image appears. [...]
Posted in AS3, Flash Also tagged ActionScript, AS3, BitmapData.histogram, histogram, image comparison 1 Comment
Generative Visuals
In the last few months I’ve played with creating a number of generative visuals or generative visual interactives. This entails building a Flash application that contains a number of randomized visual creations but also allows me to have control over color, composition, and some drawing aspects. I’ve spread a few of these visuals around and [...]
Posted in AS3, Flash Also tagged ActionScript, AS3, BitmapFilter, Generative Art, particles, pixels 4 Comments
Salt & Pepper Utilizing BitmapData.fillRect();
This movie requires Flash Player 10
swfobject.embedSWF("/blog/wp-content/uploads/2010/01/bitmapData_fillRect_animation.swf", "swf56a32", "500", "448", "10.0.0", "", {}, {wmode: "window", menu: "false", quality: "high", bgcolor: "#000000"}, {});
I’ve had some time to experiment more with BitmapData and specifically the fillRect(); method. I hope to utilize some of this soon when creating a new site for myself. Below is another example showing how [...]
Posted in AS3, Flash Also tagged ActionScript, animation, AS3, BitmapData.fillRect, fillRect, particles, pixel, pixels 6 Comments
Adding Graphics Within A Predefined Unique Boundary
I came across a forum post of someone attempting to add graphics within, and only within a uniquely shaped boundary. There are numerous ways to achieve this visual effect in flash. One, you could add items to a shape and use a blending mode to allow only those shapes that appear over the parent object [...]
Dynamic Mask And Image Comparison Part 2