strX = 400;
strY = 300;
lineTotal = 300;
lineLength = 300;
for (i=0; i< lineTotal; i++) {
a = random(2)*2-1;
tmpX = random(400)*a+strX;
this.lineStyle(random(5),0xB6F917,random(100));
this.moveTo(tmpX,strY);
this.lineTo(tmpX,random(lineLength)*a+strY);
}
沒有留言:
張貼留言