Hey there, it looks like this is your first time here. May I suggest subscribing to this blog and checking out these articles.

SOME RANDOM DUDE

Actionscript Video Color Sampler Experiment

18.04.07 @ 8:46 am

A while back, I came across an art project that put a translucent grid over public LCD monitors in New York. I was very attracted to the constantly changing abstract grid of colors - the whole idea was very clever and well-executed. Soon afterward, I thought it would be a fun experiment (albeit much less cool) to do the same thing in Flash with video. A few hours later, I had made a pretty cool system for sampling and averaging colors within a specified area. The final code was quite flexible - allowing for some very interesting representations. Below is the most simple form - I will be tidying up the code, converting it to AS3 and do a much more thorough writeup on it. Still, I thought it would be fun to show off the preliminary version.

The SWF below has a video to the left and its sampled grid to the right. Just press the play button and enjoy.

You need to upgrade your Flash Player

As I said, this is the most simple execution of this technique and (in my opinion) the least interesting. Still, I think it is the clearest example of what the sampler does. As expected, this technique is not relegated to video and can sample any bitmap, movieclip, sprite or display object that Flash has. I can think of many different applications to this technique - it really is fun to play with. I will be cleaning up the code and releasing it by next week most likely. Until then, enjoy the sample.

, , , , , , , , , , , ,

Liked This Post?

Well then, post the article to del.icio.us and subscribe to Some Random Dude's RSS Feed.

Show some comment love.

Total Donations for July:

$1.00

Want to help a good cause? Want to get this number higher? Learn how.

8 Responses to “Actionscript Video Color Sampler Experiment”

  1. Gravatar
    $0.00 in Comment Love for July

    VERY cool, as is your Comment Love idea.


  2. Gravatar
    $0.00 in Comment Love for July

    This is sweet, dude! I can’t wait for the code.

    It might be fun to make a Firefox plug-in or Greasemonkey script to do this to all images and videos in the browser. Hmmmm…


  3. Thanks for the feedback folks - and thanks for the inspiration Jason. :)


  4. Gravatar
    $0.00 in Comment Love for July

    I love that guys work, good idea to flash-ify it.

    Would be cool if you posted up the code soon, I’ve a fancy idea for using that for a gig projection that could be fun.


  5. Gravatar
    $0.00 in Comment Love for July

    dude, this is the best random video of all time!!!!


  6. Gravatar
    $0.00 in Comment Love for July

    great. would ya like to send me the sourcecode?

    thx


  7. Fabian - Surely. You can fine the source here.


  8. Gravatar
    $0.00 in Comment Love for July

    So cool dude. Any chance we could see the AS2 code?


Leave a Reply

Additional Doodads

Subscribe to Some Random Dude

Related Entries:

Most Commented Pages