forked from: 文字とか絵とかを用意しておいて、出力
http://wonderfl.net/code/7d6ad7eb9587215aa84b49e210a201ee93b3a8ea/edit
* で座標データを作成してarr7の配列につっこむと絵がかけるー。
* 寅って書いてみた→
/**
* Copyright hacker_yk666qry ( http://wonderfl.net/user/hacker_yk666qry )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/69Zg
*/
// forked from s26's 文字とか絵とかを用意しておいて、出力
// forked from nengafl's nengafl
/**
* http://wonderfl.net/code/7d6ad7eb9587215aa84b49e210a201ee93b3a8ea/edit
* で座標データを作成してarr7の配列につっこむと絵がかけるー。
* 寅って書いてみた→
*/
package
{
import flash.display.*;
import flash.events.Event;
import flash.filters.BlurFilter;
public class nenga extends Sprite{
private var arr7:Array = [142,340,142,341,142,342,142,342,131,332,117,317,103,299,90,279,79,254,71,230,67,208,65,184,69,160,78,139,91,120,111,103,134,90,158,82,183,78,212,79,237,83,257,89,283,104,312,126,336,147,355,166,368,186,374,202,375,220,368,245,358,267,347,284,332,300,310,317,291,329,271,338,246,346,226,352,213,355,203,357,193,358,186,358,181,358,178,358,173,358,169,358,165,358,161,357,156,355,153,354,151,353,148,352,146,351,143,349,141,348,140,347,138,345,137,343,136,342,136,342,136,342,136,342,136,342,136,342,136,342,136,342,136,342,135,341,135,339,135,338,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337,135,337]
private var num:int = 0
public function nenga() {
var _b:Sprite = new Sprite();
_b.graphics.beginFill(0x0000ff, 0.5);
_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++;
}
}
}