This class will allow you to create a pixellated copy of any display object.
It allows for varying pixel sizes and caching of rendered pixels so you don’t have to redraw them every time.
Usage is as follows:
var myMoz:Mosaic = new Mosaic(yourDisplayObj:DisplayObject, pixelSize:uint, useCache:Boolean);
var myMoz:Mosaic = new Mosaic(yourDisplayObj);
myMoz.pixelSize = 10;
Give it a try and let me know what you think.
See my latest at:
It is a landing page for a banner campaign for Energizer’s Energi To Go iPod charger. The concept was mocking ‘relationship aide’ products such as Viagra or even dating sites. One huge bug though is that something with the Tween class in ActionScript 3 makes some tweens just decide to up and stop when running in Firefox, which means that if you’re visiting with FF you’ll only see the HTML page 🙁 If you would like to give me your feedback on the Flash version it’s directly linked here