Bitmap Art with the Vector Class in ActionScript 3.0 / FP10

2008 July 13
by Koen

I was playing with the new (FP10) Vector class a while ago and did some experimenting on the use of the Vector objects with the BitmapData class like the methods getVector(), setVector(), some(),…

I came to a simple system where I take a column (of random width, but less then 5 px) of pixels from an input image, shift those pixels some random amount (Vector’s splice() method) and draw it again on the canvas. I also used the Vector.some() method to do some random color correction. I used my mouse as the pencil with shorter pencil strokes at the top and larger when you come closer to the bottom.

Here you see the result I came up with called “Falling Leafs“:

Let me know what you think about it …I think Playing With Vectors (maybe an idea for a next session) is actually really cool :-p

4 Responses leave one →
  1. 2008 July 13

    pretty random but cool ;)
    cheers
    Jo

  2. 2008 July 29

    falling leafs you say, hmm…
    seems like “spaghetti vomit” for me :-)

    but well done ;-)

  3. 2008 October 15

    I line your blog, a lot of interesting things you can find out for yourself

Trackbacks & Pingbacks

  1. Flash tuorials | Tutorials on Flash Player 10 Roundup part 2 | Lemlinh.com

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS