Mike T. Henderson

I make interactive things.

Categories:


More Mike:

AS3 Camera Motion Detection using BitmapData.threshold()

December 14, 2009

The idea for this experiment was to detect the percentage of motion on camera from previous frame to current frame.

Continue Reading

Perlin Particles within a Circular Boundary in AS3

March 6, 2009

Perlin Noise Particles within a Circular Bounds

The above example is another take on moving particles with perlinNoise. This time I'm containing the particles within a circular boundary by using the logic from my previous post, Mirrored Circular Motion in AS3, to regenerate particles on the opposite side of the circle. This experiment, as well as the rest of my perlin particle experiments, inspired by the magic Robert Hodgin created with his Weird Fishes video.

Continue Reading

0 Comments | Posted under BitmapData

Pointillism in AS3 with BitmapData

February 13, 2009

 

The BitmapData.getPixel method is a pretty interesting method. In previous posts I've experimented, using the number it returns, to scale, rotate, move, and in my last post, create a halftone pattern.

Continue Reading

0 Comments | Posted under BitmapData

Halftone Pattern in AS3 with BitmapData

February 13, 2009

 

Expanding on my previous experiment, using the BitmapData.getPixel and PerlinNoise to scale a Sprite based on the color info of a defined pixel, I noticed that it seemed to be creating this halftone pattern with the different scaling. Where in the previous I applied to an PerlinNoise pattern, here I thought I'd apply to an image.

Continue Reading

0 Comments | Posted under BitmapData

Moving Particles with Perlin Noise

September 11, 2008

In my previous experiments using Perlin Noise to create random movement, I played around with adjusting the rotation and the scale of each particle by taking the current pixel color number beneath each node and gathering a percentage of that by the maximum color number in the Perlin Noise.

Here I use the same numbers to create a flocking-like movement to animate the x and y coordinates. This is another experiment I've been wanting to try since watching Robert Hodgin's examples on Perlin Noise flocking at FlashBelt earlier this summer. If you haven't seen his Birds yet, or any of his stuff for that matter, you should really check it out.

Continue Reading

3 Comments | Posted under BitmapData

Rotating Particles with PerlinNoise

September 3, 2008

Continuing on with my previous post on scaling particles with PerlinNoise, I decided to take it a little further by playing with each particle's rotation in relation to the white and dark values in the PerlinNoise. This is another little trick I learned from Robert Hodgin's presentation at FlashBelt on how to simulate realistic motion on how objects reacted to wind.

Continue Reading

2 Comments | Posted under BitmapData

Scaling Particles with PerlinNoise

September 3, 2008

While attending FlashBelt this past June, I was left in complete awe by the presentation Robert Hodgin put together, and his ability to create life-like motion using PerlinNoise.

While Robert uses Processing over Flash, the logic is much the same. Use PerlinNoise, BitmapData, and getPixel to manipulate the way your objects move.

This is my first attempt at exploring this idea. Below is a very simple example of scaling particles using PerlinNoise. The basic idea of this experiment is that the lighter the pixel value in the PerlinNoise is, the larger the particles will scale. Then the darker the pixel data in the Noise is, the smaller the particles will scale. Use the controls to play with the parameters of the noise.

Continue Reading

3 Comments | Posted under BitmapData

AS3 Perlin Noise Ripples

March 28, 2008

Using the same logic from my wave machine, I reworked the code to make an AS3 version. What I learned is that there isn't really any difference with the perlinNoise method from AS2 to AS3.

Continue Reading

4 Comments | Posted under BitmapData

Perlin Flame Version 2

May 2, 2007

I took another crack a making the flame look a little more real for a project I'm working on. Using the same code from the previous post, I added a fire pit and some smoke.

Continue Reading

5 Comments | Posted under BitmapData

Perlin Flame Version 1

April 30, 2007

I've been playing around with PerlinNoise & DisplacementMapFilter in Flash a lot lately. I first learned about it while reading a chapter from the book Flash 8 Essentials by Paul Barnes-Hoggett. He made an example of a flame on a candle. The flame itself didn't look real, but the motion looked very real. I took that same logic and used tried to create a more realistic looking flame. This is my first attempt.

Continue Reading

3 Comments | Posted under BitmapData