Actionscript 3 Bitmap Segmentor (Source Code Included)
For quite some time now, I have been playing with breaking DisplayObjects into a grid to sample pixel data in order to create visualizations. I have spent time with this in both Actionscript and in Processing (see project). For Actionscript in particular though, I wanted to make the process cleaner and easier to implement. What has resulted is a slightly tangential project which ultimately makes sampling pixel data easier while offering a whole separate set of features. In its simplest form, the BitmapSegmentor allows you to take a DisplayObject’s bitmapData and break it into a grid of individual segments. These segments can then be used for various purposes, including pixel data sampling.
Read On…