B&W
/**
* 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');
}
}
}