forked from: 文字とか絵とかを用意しておいて、出力
http://wonderfl.net/code/7d6ad7eb9587215aa84b49e210a201ee93b3a8ea
* で座標データを作成してarr7の配列につっこむと絵がかけるー。
* (2010-10-09修正:上のURL間違ってたorz)
* 寅って書いてみた→
/**
* Copyright yukaringo ( http://wonderfl.net/user/yukaringo )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/iT4l
*/
// forked from s26's 文字とか絵とかを用意しておいて、出力
// forked from nengafl's nengafl
/**
* http://wonderfl.net/code/7d6ad7eb9587215aa84b49e210a201ee93b3a8ea
* で座標データを作成してarr7の配列につっこむと絵がかけるー。
* (2010-10-09修正:上のURL間違ってたorz)
* 寅って書いてみた→
*/
package
{
import flash.display.*;
import flash.events.Event;
import flash.filters.BlurFilter;
public class nenga extends Sprite{
private var arr7:Array = [202, 28, 202, 28, 202, 28, 202, 28, 202, 28, 203, 35, 205, 46, 205, 55, 205, 60, 200, 20, 300, 67, 175, 69, 152, 70, 127, 71, 98, 77, 74, 87, 55, 99, 42, 110, 35, 116, 31, 119, 29, 121, 28, 122, 28, 125, 28, 134, 28, 142, 28, 146, 29, 148, 32, 145, 38, 136, 43, 130, 46, 126, 50, 124, 60, 121, 81, 117, 111, 113, 172, 110, 226, 107, 274, 106, 307, 105, 325, 105, 335, 105, 342, 104, 346, 104, 348, 104, 349, 104, 349, 104, 349, 105, 349, 113, 351, 127, 352, 137, 353, 143, 354, 146, 354, 147, 349, 148, 331, 147, 287, 146, 251, 146, 223, 146, 193, 149, 164, 152, 135, 154, 112, 155, 101, 155, 103, 155, 117, 155, 142, 151, 168, 146, 184, 144, 192, 143, 199, 143, 205, 144, 209, 144, 211, 144, 212, 144, 213, 144, 216, 145, 219, 145, 221, 146, 222, 146, 221, 146, 214, 146, 200, 146, 189, 146, 184, 146, 181, 146, 180, 147, 182, 155, 186, 170, 188, 192, 189, 215, 189, 239, 189, 254, 188, 266, 187, 276, 186, 285, 185, 293, 184, 299, 182, 303, 180, 307, 178, 310, 177, 312, 175, 313, 163, 310, 145, 305, 126, 301, 113, 298, 106, 296, 103, 295, 102, 291, 105, 278, 109, 257, 111, 232, 114, 213, 116, 202, 119, 195, 128, 192, 167, 191, 210, 191, 242, 191, 261, 191, 271, 191, 277, 193, 281, 203, 282, 226, 282, 253, 282, 280, 281, 303, 280, 317, 280, 324, 270, 324, 255, 322, 228, 316, 207, 312, 191, 310, 178, 308, 165, 304, 152, 298, 138, 288, 131, 280, 127, 272, 124, 264, 123, 257, 122, 253, 122, 251, 126, 249, 136, 248, 151, 247, 172, 247, 186, 247, 198, 247, 208, 247, 214, 248, 218, 252, 220, 269, 219, 290, 215, 311, 205, 329, 189, 342, 175, 349, 167, 353, 163, 354, 161, 354, 158, 365, 155, 373, 149, 383, 127, 407, 114, 421, 107, 428, 107, 428, 125, 416, 170, 390, 200, 374, 215, 366, 222, 362, 228, 361, 239, 366, 256, 375, 278, 386, 311, 399, 335, 406, 352, 409, 363, 410, 372, 408, 381, 405, 387, 403, 390, 402, 391, 401, 392, 401]
private var num:int = 0
public function nenga() {
var _b:Sprite = new Sprite();
_b.graphics.beginFill(0x000000, 1);
_b.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
_b.graphics.endFill();
addChild(_b)
stage.addEventListener(Event.ENTER_FRAME, draw_circle);
}
private function draw_circle(e:Event):void{
var circle:Shape=new Shape();
circle.graphics.beginFill(0xFFFFFF * Math.random());
circle.graphics.drawCircle(0, 0, 5*Math.random()+5);
circle.graphics.endFill();
circle.blendMode=BlendMode.ADD;
circle.x=arr7[num*2]
circle.y=arr7[num*2+1]
circle.filters=[new BlurFilter(10, 10, 1)];
addChild(circle);
num++;
}
}
}