2009年3月11日 星期三

002-flash homework

‧[type1]

pt0x = 0;
pt0y = 300;
pt1x = 400;
pt1y = 300;
pt2x = 800;
pt2y = 300;

lineTotal = 30;

for (i=0; i this.lineStyle(random(5),0xFFFFFF,random(100));
tmpX = pt1x+random(100);
tmpY = pt1y+random(100);
this.moveTo(pt0x,pt0y+random(30));
this.curveTo(pt0x+(100),tmpY,pt1x,pt1y+random(50));
this.curveTo(pt2x,tmpY,pt2x,pt1y+random(250))
}

算出來的圖我選了以下三張:





‧[type2]

pt0x = 0;
pt0y = 300;
pt1x = 200;
pt1y = 300;
pt2x = 800;
pt2y = 400;

lineTotal = 30;

for (i=0; i this.lineStyle(random(5),0xFFFFFF,random(100));
tmpX = pt1x+random(100);
tmpY = pt1y+random(100);
this.moveTo(pt0x,pt0y+random(30));
this.curveTo(pt0x+random(50),pt0y+random(100),tmpX,pt1y+random(30));
this.curveTo(400,300+random(30),tmpX+random(100),pt1y+random(30));
this.curveTo(400,300+random(30),tmpX+random(200),pt1y+random(50));
this.curveTo(pt2x,tmpY,pt2x,pt1y+random(200));
}

算出來的圖我選了以下兩張:





‧再挑一張車子的圖片當素材


‧然後去photoshop作騙人的工作,就變成下面這張圖....




打完收工!!

沒有留言:

張貼留言