strX = 400;
strY = 50;
endY = 550;
lineTotal = 500;
for (i=0; i< lineTotal; i++) {
a = random(2)*2-1;
this.lineStyle(0,random(0xFFFFFF),random(100));
ptX = random(400)*a+strX;
ptY = random(300)*a+300;
this.moveTo(strX,strY);
this.curveTo(ptX,ptY,strX,endY);
}
沒有留言:
張貼留言