strX=0;
strY=300;
endX=800;
lineTotal=500;
for (i=0; i< lineTotal; i++) {
a=random(2)*2-1;
this.lineStyle(random(4),random(0x3F9EFC),random(70));
ptX=random(100)*a+strX;
ptY=random(200)*a+300;
this.moveTo(strX,strY);
this.curveTo(ptX,ptY,endX,random(600));
}
沒有留言:
張貼留言