Perlin Noise experiment

This is another Flash on the Beach AS3.0 experiment. There is a perlin noise field that controls the rotation of a series of circles that are slightly off centre. Looking at this one in action makes my eyes go funny. Click on the image below to see it animate.

feedback.jpg

  • Twitter
  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • RSS

2 Comments

  1. Greg Killmaster says:

    wow, nice. how did you apply the perlin noise field here?

  2. Daniel says:

    Hi Greg,
    There is a hidden Perlin noise field in which the offset value is changed every frame. The rotation of each circle movieclip is determined by the colour of the relevant pixels in the Perlin field:

    rotation =
    Math.round(bmpData.getPixel(20+i*25, 20+25*j) / 0xFFFFFF * 720);

    The divisor is used to translate the colour value into a number that is more useful for rotation.

Leave a Reply