2010年1月17日 星期日

作業九: 應用 判斷 same? notsame? 結構式 配合其它的指令創作



雜草叢生 風吹的草




set b 20
repeat a 0 400
{
same? a b
{
line a 0 a b
line (a*2) 0 (a*2) (b*2)
line (a*3) 0 (a*3) (b*3)
line (a*4) 0 (a*4) (b*4)
line (a*5) 0 (a*5) (b*5)

}
notsame? a b
{
line (a*1) 0 (a*20) (b*2)
line (a*2) 5 (a*30) (b*3)
line (a*3) 10 (a*40) (b*4)
line (a*4) 15 (a*50) (b*5)
line (a*5) 20 (a*60) (b*6)
line (a*6) 25 (a*70) (b*7)
line (a*7) 30 (a*80) (B*8)
line (a*8) 35 (a*90) (b*9)
line (a*9) 40 (a*100) (b*10)
}
}
}

作業八: po 個人心得300字


1985年才開始有電腦的,而德國的ZKM是全球最早設立也是最大的科技媒體藝術中心。

美國的MIT Media、德國奧地利的ZKM ARS、日本的ICC

為互動媒體設計重要的先鋒發源團體性設計。


讓我很崇拜的是MIT的領導人:John Maeda

是數位媒體的先驅,他使用開放、自由且免費的軟體供大家使用,

對全球經濟與權威的反省。多媒體與跨領域藝術,已成為媒體藝術的整合了。

媒體如何征服公共空間;越是大的空間就越要用單純的東西。






John Maeda




John Maeda 在2006年的作品


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





下雨了
彩色繽紛的綿綿細雨





因為肚子餓正在吃王子麵
所以把小王子畫出來了

2010年1月6日 星期三

期末考

1.


HAPPY NEW YEAR TO EVERYBODY :D



我還畫了迷宮的版本
用一小塊方塊 一個個畫 手快斷了 哈


程式碼
Size 400 400
Paper 95 30 50
Fast
Command rects x y w h r g b
{
Pen r g b
Repeat w (-w) (w)
{
pen r g b
line (x+w/3) (y-h/3) (x+w/3) (y+h/3)
}
}
Forever
{
Same?100
{
Rects 20 20

2009年12月8日 星期二

作業六: 應用 Mouse-paint-->「自畫像」&「自由創作」 各一幅





size 400 400
paper 0
fast
forever
{
set [ ]
}







size 300 500
paper 0
fast

forever
{
set [ ( +1) ( +1) ]
}


2009年11月12日 星期四

作業五 : Time-1234 , forever, refresh 的應用





繽紛交叉沙漏

size 300 100
paper 0
forever
{

Set S (S*2)

repeat a 100 0
{
pen (2*(a)) (a) (3*a)
line 300 (a*3) (s-30) 0



pen ((a)) (2*a) (3*a)

line 0 (s-30) (a*8) 100
}
}

2009年11月5日 星期四

期中考試 : 數位康丁斯基






Load dbngraphics.dbn
size 500 400
paper 46 139 87
fast
set M 50

//-------三角形------

//01
Repeat E 150 200
{
pen 100
triangle (M*4) E (M*4+25) (M*3) (M*3+25) (M*3)
}

//02
Repeat E 100 150
{
pen 100

triangle (M*4) E (M*3+25) (M*2) (M*4+25) (M*2)
}

//03
Repeat B 50 100
{
pen 100
triangle (M*4) B (M*3+25) M (M*4+25) M
}

//04
Repeat G 150 375
{
pen 139 35 35
triangle (M*7+25) G 250 (M*3) (M*7) (M*4)
}
//05
Repeat C 50 125
{
pen 139 69 19
triangle (M*8) C 300 (M*2+25) (M*9+25) (M*2+25)
}

//------------圓--------------
circle 400 0 100 100
circle 400 0 99 100
circle 400 0 98 100
circle 400 0 97 100
circle 400 0 96 100
circle 400 0 95 100
circle 400 0 94 100

//-------三角形------

//06
Repeat E 175 200
{
pen 255 255 0
triangle (M*7+25) E (M*8+25) (M*4) (M*7+25) (M*4)
}
//07
Repeat E 150 175
{
pen 255 10 48
triangle (M*7+25) E (M*8) (M*3+25) (M*7+25) (M*3)
}

//08
Repeat C 125 175
{
pen 100
triangle (M*9) C (M*8+25) (M*3+25) (M*9+25) (M*3+25)
}

//09
Repeat E 225 275
{
pen 47 79 79
triangle (M*7+25) E (M*9) (M*4+25) (M*7+25) (M*5)
}

//10
Repeat E 225 275
{
pen 139 20 10
triangle (M*9) E (M*9) (M*4+25) (M*7+25) (M*5+25)
}

//11
Repeat E 300 350
{
pen 139 37 0
triangle (M*6) E (M*5+25) (M*6+25) (M*6+25) (M*6+25)
}

//12
Repeat Y 50 200
{
pen 100
triangle (M*2) Y (M+25) M (M*2+25) M
}

//----------長框---------------------
Repeat A 375 450
{
pen 0
line A 208 A 216
}
//--------------------------------------
Repeat A 25 100
{
pen 255 255 0
line A 364 A 375
}

//-----------圓----------------
repeat A 0 50
{
pen 80 80 80
Circle 100 200 A A
}

circle 100 200 0 100
circle 100 200 1 100
circle 100 200 2 100
circle 100 200 3 100
circle 100 200 4 100
circle 100 200 5 100
circle 100 200 7 100
circle 100 200 9 100
circle 100 200 10 100
circle 100 200 11 100
circle 100 200 13 100
circle 100 200 15 100
circle 100 200 17 100

//----三角形13------------
Repeat F 200 300
{
pen 100
triangle (M*2) F (M*3) (M*6) (M*1) (M*6)
}

//-----------圓----------------
circle 100 200 59 100
circle 100 200 58 100
circle 100 200 57 100
circle 100 200 56 100
circle 100 200 55 100
circle 100 200 54 100
circle 100 200 53 100