2009年12月24日 星期四

作業九:應用 判斷 same? notsame?












有一種永無止盡的感覺....

-------------------------------
size 300 100

Load dbngraphics.dbn

forever

{

paper 100

pen 90

作業八:個人心得




每次上課老師都會給我們看一些許許多多有關互動媒體的影片,
其中令我印象深刻的是有關燈光的互動,
感覺好像平常不起眼的事物,只要加上燈光就會讓人眼睛為之一亮!
之前老師給我們看的那個植物燈光的部分,
小朋友在上面玩耍,就可以跟燈光產生互動,我覺這個是非常棒的效果!

感覺只要是能跟自己有相關性的東西就能使人感到興趣!
好的創意就是能使人省思然後人大呼驚奇,
所以現在的我們就是要努力突破,創造出讓人驚奇的作品。

作業七:應用 Mouse-1-2-3 配合Time 4 -->profuse color






size 200 200
paper 100
fast
command rects x y w h r g b
{
pen r g b
repeat w1 10 h
{
pen r g b
line (x+(w1/2)) (y-h/2) (x+(w1/2)) (y-h/2)
line (x-(w1/2)) (y-h/2) (x+(w1/2)) (y+h/2)
line (x+(w1/2)) (y+h/2) (x+(w1/2)) (y+h/2)
line (x+(w1/2)) (y-h/2) (x-(w1/2)) (y+h/2)
}
}
forever
{
rects 10 14





2009年12月17日 星期四

作業六:自畫像&青蛙妹妹


感覺畫的不是很好ˊˋ....





這是我最喜歡的青蛙~下雨天她很開心!!





2009年11月12日 星期四

作業五:Time-1234









Load dbngraphics.dbn
size 200 200

//設定背景
forever
{
paper

2009年11月5日 星期四

期中:數位康丁斯基



// enter programload
dbngraphics.dbn
size 400 300
paper 60 90 80
fast


//黑三角
Repeat A 155 115
{
pen 100
triangle 225 115 250 A 275 115
}
Repeat A 115 75
{
pen 100
triangle 233 75 250 A 269 75
}
Repeat A 75 33
{
pen 100
triangle 235 33 250 A 260 33
}
Repeat A 40 75
{ pen 100
triangle 60 85 40 115 A 115
}
//大橘三角
repeat A 25 150
{pen 80 40 0
triangle 90 33 25 85 A 85
}
//亮橘紅三角
Repeat A 100 110
{
pen 90 25 20
triangle 90 110 105 A 105 110
}
//黃三角
Repeat A 110 130
{
pen 255 215 0
triangle 80 130 105 A 105 130
}
//綠三角
Repeat A 150 177
{
pen 10 30 15
triangle 50 150 105 A 105 150
}
//亮橘紅三角repeat A 50 105
{
pen 90 25 20
triangle 50 150 50 177 A 177
}
//白條
repeat B 0 5
{
pen 5
line 50 (137+B) 105 (137+B)
}
//黃條
repeat B 0 8
{
pen 100 80 0
line 325 (270+B) 380 (270+B)
}
//大圓(外)
Repeat A 50 40
{
circle 310 160 A 100
}
Repeat A 43 35
{
circle 310 160 A 60
}
Repeat A 35 25
{
circle 310 160 A 40
}//紅褐三角
repeat A 225 160
{
pen 50 10 0
triangle 260 225 310 A 360 225
}//紅紫三角
Repeat A 160 25
{
pen 30 0 20
triangle 275 25 310 A 350 25
}//大圓(內)
Repeat A 25 10
{
circle 310 160 A 0
}Repeat A 10 0
{
circle 310 160 A 100
}//紅方形
repeat B 0 20
{
pen 80 5 0
line 165 (250+B) 185 (250+B)
}//右下圓弧repeat a 0 7
{
circle 90 5 (a+40) (60)
}//右下遮罩
repeat a 0 30
{
pen 60 90 80
rectangle (30+a) (0+a) (150-a) (0-a)
}//右上圓弧
repeat a 0 5
{
circle 85 265 (a+30) (0)
circle 70 255 (a+50) (50)
}//右上遮罩
repeat A 0 170
{
pen 60 90 80
triangle 125 250 170 300 A 300
}//桃紅三角Repeat A 285 101
{
pen 85 35 40
triangle 106 101 106 A 200 101
}

2009年10月29日 星期四

作業四:command square 結構綜合設計










size 200 200paper 100
command square x y s c



{pen 80 c 10line x y (x+(s/4)) (y/s)



line (x+(s/4)) (y/s) (x+s) yline (x+s) y x y}



command square2 x y s c



{pen c 80 80line (x+s) y x y



line x y (x+(s/3)) (y/s)



line (x+(s+3)) (y+s) (x+s) y}



command square3 x y s c



{pen 80 10 cline x y (x+(s/2)) (y+s)



line (x+(s/2)) (y+s) (x+s) y



line (x+s) y (x+(s/2)) (y-s)



line (x+(s/2)) (y-s) x y}



repeat D 10 17



{repeat A 0 5



{repeat B 0 3



{square (15+(A+A)*15) (12+(B+B)*23) D (10+(A+B)*11)}}}



repeat D 10 17



{repeat A 0 5



{repeat B 0 3



{square2 (31+(A+A)*15) (45+(B+B)*23) D (10+(A+B)*11)}}}



repeat D 10 17



{repeat A 0 4



{repeat B 0 3



{square3 (30+(A+A)*15) (28+(B+B)*23) D (10+(A+B)*11)}}}



追蹤者