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 the rest of this post…
Posts Tagged ‘bitmap’
Click on one of the items below to go to the postActionscript 3 Bitmap Segmentor (Source Code Included)
Posted on 22 January, 2008 at 6:00am with 15 comments
AS3 Layout Organizers Applied to Video
Posted on 13 September, 2007 at 9:42am with 7 comments
Last week, I showcased an idea of Flash layout organizers (source code is coming), that acts loosely the same as Flex containers. I have already started to use this basic idea and it has so far worked out very nicely for me. After posting my little experiment, I instantly thought of mashing up the layout organizer experiment with the Flash video sampler experiment I did a couple months back. The current example of bringing the two together is overly simplistic to better give the idea of what is happening, but I can already see tremendous potential for fun with this technique.
This technique extensively uses the copyPixels method and the performance is much better than I honestly expected. The current example’s video is broken up into 225 individual boxes, each bitmaps pulling from the video every 40 milliseconds. That is a lot of computations. I wanted to drop this relatively sophomoric example out there to clearly show what this technique does – hopefully this week or next I will be able to have a little more fun with this and push the visual/interactive aspects.
Highlighted Content
No related posts.
Recent Posts
- somerandomdude: Lunchtime. Giving recursion a rest.
- somerandomdude: @robpenner I never thought of it in that way, but now that I do, it’s even more depressing than before.
- somerandomdude: In full-bore hermit state for the day while the wife and friends enjoy the day.
- somerandomdude: @DanHarrelson OK, I need to hang with you so you can show me the ropes on a top-tier Hefeweizen.
- somerandomdude: Why have I only seen this in Portland? http://tweetphoto.com/15043690


