Tag Archive > Flash

Perlin Noise used to drive vector flow field

Ricki » 20 June 2009 » In ActionScript 3.0, Flash » 1 Comment

This post is essentially the same as this one, only difference is that a BitmapData.perlinNoise() is used instead of the BitmapData.draw(video) to produce a background that influences the flow field.

I have not posted the code to this one because the two are so similar, but if anyone want me to, just leave a comment and I’ll get right on posting it:) or send it to you.

Continue reading...

Tags: , , , , , ,

More camera flow field fun

Ricki » 16 June 2009 » In ActionScript 3.0, ActionScript3, Flash » No Comments

Apparently I have not finished my little Flow Field craze, In one of my math books I saw a picture of a flow field
as it is depicted in math terms, as a little grid of arrows. I thought it could be fun to play around with this idea.

The code is really sloppy this time, only took an hour or two, so I’ll post the example here along with the project (A Flash Builder Flash Project SDK 4.0 to be precise, will run in the Flash IDE, no problem).

This is your brain, and this is your brain on vectors!

(Warning, this could potentially push your browser to the limit if you are to eager with the sliders. So please save any unfinished pulitzer price article you are currently working on in Google docs, I really don’t want to piss of anyone :) )

Source is here, I included Bit-101′s minimalComps sine Im using that library, they are great for these things!

Continue reading...

Tags: , , ,