In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

B&W

Get Adobe Flash player
by christian 12 Mar 2012
/**
 * Copyright christian ( http://wonderfl.net/user/christian )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/9a7o
 */

package
{
    import flash.display.*;
    import flash.utils.setInterval;

    /**  @author SPANVEGA // CHRISTIAN  **/

    [ SWF (width = '465', height = '465', backgroundColor = '0x000000', frameRate = '0')]

    public class B_W extends Sprite
    {
        private var e : BitmapData = new BitmapData (465, 465, false, 0), s : BitmapData = e.clone ();

        public function B_W ()
        {
            Wonderfl.disable_capture ();
            stage.scaleMode = 'noScale';

            addChild (new Bitmap (s));

            render (); setInterval (render, 2000);
        }

        private function render () : void
        {
            s.fillRect (s.rect, 0);

            for (var i : uint = 1; i <= 15; i++)
            {
                e.perlinNoise (50 * i, 50 * i, 3, Math.random () * 0xFFFF, true, true, 1, true);
                s.draw (e, null, null, 'difference');
                s.draw (s, null, null, 'hardlight');
            }
            s.draw (s, null, null, 'add');
        }
    }
}