forked from: PaletteMap Feedback
/**
* Copyright Quasimondo ( http://wonderfl.net/user/Quasimondo )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/sWzO
*/
// forked from Quasimondo's PaletteMap Feedback
package {
import flash.display.Bitmap;
import flash.geom.Point;
import flash.display.BitmapData;
import flash.display.Sprite;
public class PaletteMapFeedback extends Sprite {
public function PaletteMapFeedback() {
var map:BitmapData = new BitmapData(512,512,false,0);
map.perlinNoise(70,70,3,1234,false,true,7,false);
map.paletteMap(map,map.rect,new Point(0,1),[0xff0302]);
addChild(new Bitmap(map));
}
}
}