2009年3月18日 星期三

003-flash homework 07



strX = 400;
strY = 300;

lineTotal = 300;
lineLength = 300;

for (i=0; i< lineTotal; i++) {
a = random(3)-1;
this.lineStyle(0,0x870145,random(100));
this.moveTo(random(400)*a+strX,strY);
this.lineTo(random(400)*a+strX,lineLength+strY*a);
}

lineTotal = 200;
lineLength2 = 400;

for (i=0; i< lineTotal; i++) {
a = random(2)-1;
this.lineStyle(0,0x870145,random(100));
this.moveTo(strX,random(300)*a+strY);
this.lineTo(strX+lineLength2,random(300)*a+strY);
}

for (i=0; i< lineTotal; i++) {
a = random(2);
this.lineStyle(0,0x870145,random(70));
this.moveTo(strX,random(300)*a+strY);
this.lineTo(strX-lineLength2,random(300)*a+strY);
}

2 則留言:

  1. do u feel music from the drawing?

    I see trance.
    not dark core...... light .. a bit acid

    pong

    回覆刪除
  2. 哈...
    也許聽起來會像這個??
    http://www.youtube.com/watch?v=8ISP-CLciLY

    by the way...
    I luv TB-303!!king of acid!!!
    http://www.youtube.com/watch?v=FgUDFYxgeVI
    http://www.youtube.com/watch?v=tNTspVqtceA

    回覆刪除