2012年11月30日 星期五
F10110006_樂軼燕_聖誕樹
size(255, 255);
background(180, 50, 50);
strokeWeight(3);
smooth();
noFill();
strokeWeight(9.0);
strokeJoin(ROUND);
beginShape();
vertex(85, 50);
vertex(30, 50);
vertex(35, 80);
endShape();
noFill();
strokeWeight(9.0);
strokeJoin(ROUND);
beginShape();
vertex(15, 50);
vertex(30, 50);
vertex(35, 80);
endShape();
noFill();
strokeWeight(9.0);
line(155, 50, 210, 50);
noFill();
strokeWeight(9.0);
line(155, 70, 210,50);
fill(30, 60, 20);
noStroke();
triangle(80, 125, 108, 70, 136,125);
smooth();
for(int i=60; i<125; i+=1) {
// If 'i' divides by 20 with no remainder draw the first line
// else draw the second line
if(i%15 == 0) {
ellipse(108, i+25, 15,15);
fill(255, 204, 0);
}
}
B10030316_苗君敏_聖誕樹
size(900, 1200);
background(0,255,0);
for(int i = 10; i<320; i=i+5){
line(420-i,i+30,i+390,i+30);
}
line(404,47,100,345);
line(404,47,710,345);
for(int i = 10; i<320; i=i+5){
line(350-i,i+200,i+450,i+200);
}
line(200,348,27,518);
line(600,348,760,514);
for(int i = 10; i<320; i=i+5){
line(300-i,i+350,i+500,i+350);
}
line(138,515,-50,700);
line(667,520,820,668);
fill(255,100,10);
rect(360, 665, 80, 300);
fill(255,255,0);
ellipse(405, 30, 55, 55);
noSmooth();
B10010101_蕭惠嘉_聖誕樹
size(500,500);
background(225, 0, 0);
color c = color (255, 255, 255);
fill (c);
noStroke();
ellipse(450, 400, 10, 10);
fill (c);
noStroke();
ellipse(400, 200, 10, 10);
fill (c);
noStroke();
ellipse(150, 50, 10, 10);
fill (c);
noStroke();
ellipse(100, 30, 10, 10);
fill (c);
noStroke();
ellipse(150, 350, 20, 20);
fill (c);
noStroke();
ellipse(50, 150, 10, 10);
fill (c);
noStroke();
ellipse(450, 500, 10, 10);
fill (c);
noStroke();
ellipse(450, 100, 30, 30);
fill (c);
noStroke();
ellipse(400, 400, 20, 20);
fill (c);
noStroke();
ellipse(400, 140, 30, 30);
fill (c);
noStroke();
ellipse(50, 440, 50, 50);
fill (c);
noStroke();
ellipse(10, 40, 50, 50);
fill (c);
noStroke();
ellipse(100, 240, 25, 25);
fill (c);
noStroke();
ellipse(200, 50, 30, 30);
fill (c);
noStroke();
for (int i = 40; i <=400; i+=10) {
fill(45, 150, 25);
triangle(100, 350, 250, 100, 400, 350);
triangle(100, 275, 250, 100, 400, 275);
triangle(150, 200, 250, 100, 350, 200);
fill(250, 250, 100);
triangle(220, 95, 250, 140, 280, 95);
triangle(220, 125, 250, 80, 280, 125);
color v = color (255, 255, 255);
fill (v);
noStroke();
ellipse(450, 100, 30, 30);
fill(110, 0, 30);
rect(200, 350, 100, 55);
line(200, 400, 200,350);
line(300, 400, 300,350);
fill (c);
noStroke();
ellipse(280, 150, 10, 10);
fill (c);
noStroke();
ellipse(200, 300, 10, 10);
fill (c);
noStroke();
ellipse(230, 175, 10, 10);
}
B10010014_羅珮嘉_聖誕樹
size(150,150);
background(204,200,0);
color c = color(255); // Define color 'c'
fill(c); // Use color variable 'c' as fill color
noStroke(); // Don't draw a stroke around shapes
ellipse(10, 10, 10, 10); // Draw left circle
ellipse(30, 100, 15, 15);
ellipse(90, 50, 10, 10);
ellipse(150, 100,5,5);
ellipse(100,90,5,5);
ellipse(80,150,10,10);
for (int i = 60; i < 85; i +=2) {
stroke(204,153,0);
line(60, i, i,60 );
}
for (int i = 20; i < 95; i +=2) {
stroke(10,50);
line(20, i,i,20);
}
for (int i = 40; i < 90; i +=2) {
stroke(10,50);
line(40, i,i,40);
}
for (int i = 10; i < 65; i +=2) {
stroke(10,50);
line(10, i,i,10);
}
String s = "Merry Christmas";
fill(100);
text(s, 80, 100, 90, 80); // Text wraps within text box
B10010002_賴沛樺_聖誕樹
/*background (20,60,0);綠*/
/*background (0,50,20);綠*/
size (200,300);
stroke (255);
fill(200);
triangle(90, 35, 110,35, 100, 27);
for(int i=40; i <= 160; i+=5) {
point(i,100);
line(i,95,100,40);
smooth();
}
for(int x=30; x <= 170; x+=5) {
point(x,160);
line(x,155,100,80);
smooth();
}
for(int y=20; y <= 180; y+=5) {
point(y,225);
line(y,220,100,130);
smooth();
}
line (90,260,90,225);
line (95,260,95,225);
line (100,260,100,225);
line (105,260,105,225);
line (110,260,110,225);
smooth();
B10030433_陳懷婠_X'mas 聖誕樹
size(500, 500);
background(230, 20, 0);
for(int i=4; i<width-2; i+=4) {
if(i%20 == 0) {
stroke(255);
line(i, 250, 250, 50);
} else if (i%10 == 0) {
stroke(153);
line(250, i, 250, i);
}
}
for(int m=4; m<width-2; m+=4) {
if(m%20 == 0) {
stroke(255);
line(m, 350, 250, 200);
} else if (m%10 == 0) {
stroke(153);
line(250, m, 250, m);
}
}
for(int k=220; k<280 ; k+=8) {
// If 'k' divides by 11 with no remainder draw the first line
// else draw the second line
if(k%20 == 0) {
stroke(10);
line(k, 350, k, 450);
} else {
stroke(20);
line(k,350, k, 450);
}
}
fill (230, 230, 230);
rect(0, 450, 500, 450);
fill (250, 250, 250);
ellipse(56, 46, 10, 10);
ellipse(30, 20, 10, 10);
ellipse(100, 30, 10, 10);
ellipse(150, 150, 10, 10);
ellipse(300, 400, 5, 5);
ellipse(120, 40, 5, 5);
ellipse(380, 440, 6, 6);
ellipse(78, 96, 12, 12);
ellipse(100, 200, 13, 13);
ellipse(325, 210, 10, 10);
ellipse(420, 268, 16, 16);
ellipse(392, 420, 8, 8);
ellipse(480, 389, 14, 14);
fill(0, 230, 100);
ellipse(250, 50, 6, 6);
b10030038_王國豪_聖誕樹
size (800,400);
background(200,0,0) ;
ellipse (300,70,50,50)
;
for (int j=0; j<50;j=j+2) {
line(300,j,250-j,j);
}
for (int i =0; i<50;i=i+2) {
line(300,i,350+i,i);
}
for (int i =50; i<100;i=i+2) {
line(300-i, i, 300+i,i);
}
for (int i =100; i<250;i=i+2) {
line(200-i, i,350+i,i);
}
rect(280,250,55,55)
;
B10030420_蕭雅函_聖誕樹
background(150,20,10);
for (int i=0; i<72; i=i+5) {
stroke(255);
line(40-i,i,i+40,i);
noStroke();
rect(27, 70, 25, 28);
ellipse(7, 62, 12, 12);
ellipse(27, 62, 12, 12);
ellipse(47, 62, 12, 12);
ellipse(67, 62, 12, 12);
ellipse(87, 62, 12, 12);
ellipse(75, 46, 10, 10);
ellipse(55, 46, 10, 10);
ellipse(35, 46, 10, 10);
ellipse(15, 46, 10, 10);
ellipse(65, 30, 8, 8);
ellipse(45, 30, 8, 8);
ellipse(25, 30, 8, 8);
ellipse(30, 15, 5, 5);
ellipse(40, 15, 5, 5);
ellipse(50, 15, 5, 5);
}
B10034043_曾日進_聖誕樹
background(40,215,10);
smooth();
for (int i = 40; i < 100; i = i+20) {
line(30, i, 60, i);
}
for (int i = 40; i < 100; i = i+20) {
line(30, i, 60, i-20);
}
for (int i = 40; i < 100; i = i+20) {
line(90, i, 60, i);
}
for (int i = 40; i < 100; i = i+20) {
line(60, i-20, 90, i);
}
line(60,80,60,100);
B10034033 盧欣宜_聖誕樹
background(0);
size(300, 300);
stroke(153);
for(int i=20;i<165;i=i+5){
line(150,60,i+60,120);
}
for(int i=20;i<200;i=i+5){
line(150,60,i+40,180);
}
for(int i=20;i<240;i=i+5){
line(150,60,i+20,240);
}
for(int i=240; i<width; i+=5){
line(140,i,160,i);
}
2012年11月24日 星期六
B10030423_廖悅辰
void setup(){
size(300, 300);
background(64, 224, 208);
noFill();
strokeWeight(3);
stroke(255, 215, 0);
ellipse(80, 200 ,260, 260);
smooth();
fill(255, 215, 0);
ellipse(85, 208 ,260, 260);
smooth();
}
void draw(){
noFill();
stroke(0, 0, 0);
noFill();
strokeWeight(2);
strokeCap(ROUND);
arc(110, 220, 110, 125, -1, HALF_PI);
fill(0, 0, 0);
ellipse(56, 156, 35, 35);
fill(0, 0, 0);
ellipse(18, 235, 35, 35);
noStroke();
fill(132,112,225,8);
ellipse(180,130,130,130);
fill(255,105,180,5);
ellipse(120,50,90,90);
fill(255, 250, 205,7);
ellipse(250,150,35,35);
color c = color (255, 69, 0);
fill (c);
PFont font;
// The font must be located in the sketch's
// "data" directory to load successfully
font = loadFont("AgencyFB-Bold-48.vlw");
textFont(font, 35);
text("Industrial Design",80, 200 ,260, 260);
smooth();
B10034014_李昀叡
int x=0;
int y=0;
int z=0;
void setup(){
size(500,500);
}
void draw(){
background(154,221,206);
PFont font;
font=loadFont("2Tech-48.vlw");
textFont(font);
fill(100);
stroke(10,10,10);
strokeWeight(15);
line(20,20,360,360);
fill(255);
strokeWeight(15);
line(20,90,360,390);
fill(255);
textFont(font,100);
text("oh",370,370);
textFont(font,150);
text("NO",370,480);
}
B10034025 鍾宜芳
void setup(){
size (300, 300);
background (0);
}
void draw(){
/*fill(225, 50, 0);
noStroke();
ellipse(270, 270, 25, 25);*/
noFill();
stroke(225,0,170);
beginShape();
vertex(10, 10);
vertex(10, 20);
vertex(20, 20);
vertex(10, 30);
endShape();//S
beginShape();
vertex(25, 30);
vertex(25, 10);
vertex(35, 10);
vertex(25, 20);
endShape();//P
beginShape();
vertex(45, 20);
vertex(40, 30);
vertex(40, 10);
vertex(50, 30);
endShape();//A
line(55, 10, 65, 10);
line(60, 10, 60, 30);//T
line(70, 10, 80, 10);
line(75, 10, 75, 30);
line(70, 30, 80, 30);//I
beginShape();
vertex(90, 20);
vertex(85, 30);
vertex(85, 10);
vertex(95, 30);
endShape();//A
beginShape();
vertex(100, 10);
vertex(100, 30);
vertex(110, 30);
endShape();//L
stroke(225,0,110);
line(10, 45, 20, 45);
line(15, 45, 15, 65);
line(10, 65, 20, 65);//I
beginShape();
vertex(25, 65);
vertex(25, 45);
vertex(35, 65);
vertex(35, 45);
endShape();//N
line(40, 45, 50, 45);
line(45, 45, 45, 65);//T
line(55, 45, 65, 45);
line(55, 45, 55, 65);
line(55, 55, 65, 55);
line(55, 65, 65, 65);//E
beginShape();
vertex(70, 65);
vertex(70, 45);
vertex(80, 45);
vertex(70, 55);
vertex(80, 65);
endShape();//R
beginShape();
vertex(95, 65);
vertex(85, 45);
vertex(85, 65);
vertex(90, 55);
endShape();//A
beginShape();
vertex(110, 45);
vertex(100, 45);
vertex(100, 65);
vertex(110, 65);
endShape();//C
line(115, 45, 125, 45);
line(120, 45, 120, 65);//T
line(130, 45, 140, 45);
line(135, 45, 135, 65);
line(130, 65, 140, 65);//I
beginShape();
vertex(145, 45);
vertex(145, 65);
vertex(155, 65);
vertex(155, 45);
endShape(CLOSE);//O
beginShape();
vertex(160, 65);
vertex(160, 45);
vertex(170, 65);
vertex(170, 45);
endShape();//N
stroke(225,0,50);
beginShape();
vertex(10, 100);
vertex(10, 80);
vertex(20, 80);
vertex(10, 100);
endShape();//D
line(25, 80, 35, 80);
line(25, 80, 25, 100);
line(25, 90, 35, 90);
line(25, 100, 35, 100);//E
beginShape();
vertex(40, 80);
vertex(40, 90);
vertex(50, 90);
vertex(40, 100);
endShape();//S
line(55, 80, 65, 80);
line(60, 80, 60, 100);
line(55, 100, 65, 100);//I
beginShape();
vertex(80, 80);
vertex(70, 80);
vertex(70, 100);
vertex(80, 100);
vertex(80, 90);
vertex(70, 100);
endShape();//G
line(85, 100, 85, 80);
stroke(225,0,110);
line(85, 80, 290, 290);
line(290, 290, 290, 270);//N
line(270, 290, 290, 290);
}
B10034005 薛天惠
void setup(){
size(300,300);
}
void draw(){
background(50);
noStroke();
fill(190,0,0);
rect(70,70,160,160,15);
noStroke();
fill(245,141,17);
ellipse(100,100,33,33);
noStroke();
fill(245,141,17);
ellipse(200,200,33,33);
noStroke();
fill(245,141,17);
ellipse(100,200,33,33);
noStroke();
fill(245,141,17);
ellipse(200,100,33,33);
noStroke();
fill(190,0,0);
ellipse(260,50,33,33);
}
B10034033_盧欣宜_LOGO
int x=0;
int y=0;
void setup(){
size(300, 300);
}
void draw(){
background(253,233,25);
noStroke();
smooth();
fill(0,160,210);
ellipse(244,226,60,60);
smooth();
fill(200,0,125);
ellipse(200,80,80,80);
fill(0,90);
triangle(150,150,150,255,270,190);
fill(0,90);
triangle(100,100,100,255,250,170);
PFont font;
font = loadFont("Corbel-Bold-48.vlw");
fill(245);
textFont(font,40);
text("GOOD",X+40,Y+120);
text("MORNING",X+40,Y+160);
}
B10030407 蔡承融
int x=0;
int y=0;
color a =color (255,204,0);
color b =color (255,32,64);
color c =color (120);
color d =color (220);
void setup(){
size(300,300);
}
void draw(){
background(45);
fill(d);
noStroke();
ellipse(45,115,25,25);
fill(a);
ellipse(80,150,55,55);
fill(c);
quad(80,30,40,50,80,50,50,10);
fill(a);
textSize(20);
PFont font;
font = loadFont("AngsanaNew-BoldItalic-48.vlw");
textFont(font);
text("Spatail",50,60);
text("Interaction",60,90);
text("Design",70,115);
fill(b);
font = loadFont("BookAntiqua-BoldItalic-48.vlw");
textFont(font);
textSize(12);
text("Tsai Cheng Rung",120,160);
}
B10034040 李綠珊
int x=100;
int y=100;
void setup(){
size(300, 300);
background(255);
noStroke();
PFont font;
font = loadFont("OptimaLT-Bold-48.vlw");
textFont(font);
}
void draw(){
fill(132, 91, 164);
ellipse(200, 200, x, y);
ellipse(50, 50, 100, 100);
fill(255, 224, 82);
ellipse(200, 200, x-50, y-50);
ellipse(50, 50, 60, 60);
fill(132, 91, 164);
ellipse(200, 200, x-90, y-90);
x=x+2;
y=y+2;
if(y>350){
y=100;
}
if(x>350){
x=100;
}
fill(255);
textSize(36);
text("Spatial",100, 150);
text("Interaction",100, 200);
text("Design",100, 250);
}
2012年11月23日 星期五
B9930219-謝伯彥
int x=0;
int y=0;
void setup(){
size(300,300);
background(255);
}
void draw(){
smooth();
noStroke();
color a=color(0);
fill(a);
rect(x+10,y+10,280,280);
smooth();
color b=color(255,255,0);
fill(b);
ellipse(x+100, y+100, 150, 150);
smooth();
color c=color(255,200,0);
fill(c);
ellipse(x+150, y+170, 100, 100);
smooth();
color d=color(255,150,0);
fill(d);
ellipse(x+200, y+210, 50, 50);
smooth();
color e=color(255,0,150);
fill(e);
rect(x+250,y+10,10,280);
smooth();
color f=color(255,0,150);
fill(f);
rect(x+10,y+250,280,10);
PFont font;
font = loadFont("BankGothicBT-Medium-48.vlw");
fill(150);
textFont(font, 30);
text("SPATIAL", x+50, y+125);
text("INTERACTION" ,x+50, y+150);
text("DESIGN" , x+50, y+175);
}
B10010124_羅惠如_Logo
PFont font;
size(300, 300);
background(0);
ellipse(50, 50, 80, 80);
noStroke();
fill(200);
ellipse(70, 70, 50, 50);
noStroke();
fill(100);
ellipse(90, 90, 30, 30);
stroke(100, 100, 100);
strokeWeight(8);
line(90, 90, 300, 300);
{
font = loadFont("LucidaCalligraphy-Italic-32.vlw");
textFont(font, 26);
fill(255);
text("Draw", 100, 50);
}
{
textFont(font, 20);
fill(200);
text("your", 200, 150);
fill(150);
text("sketch", 200, 180);
}
{
noStroke();
smooth();
fill(255, 0, 0, 160); // Red color
ellipse(20, 120, 150, 150); // Red circle
fill(0, 0, 255, 160); // Blue color
ellipse(300, 250, 200, 200); // Blue circle
}
B10010126_徐玲琪_LOGO
PFont font;//delare the font
font = loadFont("HarlowSolid-48.vlw"); //load
textFont(font);
size(300, 300);
background(255, 204, 0);
fill(0);
noStroke();
ellipse(150, 150, 150, 150);
smooth();
fill(255, 204, 0);
ellipse(200, 100, 100, 100);
smooth();
fill(255);
textSize(23);
text("Box", 175, 250);
text("Cake", 220 ,250);
color(255, 204, 0);
smooth();
color c = color (255, 204, 0);
stroke(255);
strokeWeight(5);
smooth();
line(50,120, 170, 80);
stroke(255);
strokeWeight(5);
smooth();
line(170,80, 200, 120);
line(50, 120, 200, 120);
line(50, 120, 50, 200);
line(200, 120, 200, 200);
line(50, 200,200, 200);
line(170, 80, 170, 170);
stroke(255);
strokeWeight(5);
smooth();
line(170,170, 50, 200);
stroke(255);
strokeWeight(5);
smooth();
line(170,170, 200, 200);
2012年11月22日 星期四
B10010112_張雅婷_LOGO
void setup(){
size(500,500);
background(255,255,255);
smooth();
}
void draw(){
background(255);
PFont font;
font=loadFont("cwTeXHeiBold-48.vlw");
textFont(font);
fill (255);
stroke(0);//外框顏色(R,G,B)
triangle(170, 382, 160, 397, 180, 397);
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(250,250,200,200);//
fill (255);
stroke(0);//外框顏色(R,G,B)
strokeWeight(8);//外框寬度(數字)
ellipse(380,380,90,90);//
fill (255);
stroke(255);//外框顏色(R,G,B)
strokeWeight(8);//外框寬度(數字)
ellipse(410,410,90,90);//
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(350,350,130,130);//
fill (0);
stroke(0);//外框顏色(R,G,B)
quad(270,250,100,360,150,280,80,220);
fill (255);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(200,250,30,30);//
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(205,257,12,12);//
noFill();
stroke(255, 102, 0);
stroke(0, 0, 0);
bezier(100,300,40, 250, 80, 210,20,180);
fill (255);
stroke(255);
quad(290, 240, 310, 260, 150,150, 100,100);
strokeWeight(2);//外框寬度(數字)
fill(0);
textSize(21);
text("JHANG",200,400);
text("YA-TING",230,430);
strokeWeight(2);//外框寬度(數字)
fill(0);
textSize(21);
text("JHANG",200,400);
text("YA-TING",230,430);
}
size(500,500);
background(255,255,255);
smooth();
}
void draw(){
background(255);
PFont font;
font=loadFont("cwTeXHeiBold-48.vlw");
textFont(font);
fill (255);
stroke(0);//外框顏色(R,G,B)
triangle(170, 382, 160, 397, 180, 397);
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(250,250,200,200);//
fill (255);
stroke(0);//外框顏色(R,G,B)
strokeWeight(8);//外框寬度(數字)
ellipse(380,380,90,90);//
fill (255);
stroke(255);//外框顏色(R,G,B)
strokeWeight(8);//外框寬度(數字)
ellipse(410,410,90,90);//
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(350,350,130,130);//
fill (0);
stroke(0);//外框顏色(R,G,B)
quad(270,250,100,360,150,280,80,220);
fill (255);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(200,250,30,30);//
fill (0);
stroke(0);//外框顏色(R,G,B)
strokeWeight(2);//外框寬度(數字)
ellipse(205,257,12,12);//
noFill();
stroke(255, 102, 0);
stroke(0, 0, 0);
bezier(100,300,40, 250, 80, 210,20,180);
fill (255);
stroke(255);
quad(290, 240, 310, 260, 150,150, 100,100);
strokeWeight(2);//外框寬度(數字)
fill(0);
textSize(21);
text("JHANG",200,400);
text("YA-TING",230,430);
strokeWeight(2);//外框寬度(數字)
fill(0);
textSize(21);
text("JHANG",200,400);
text("YA-TING",230,430);
}
B10010104_張舒涵_LOGO
int x=40;
int y=40;
void setup(){
size(500, 500);
background(255);
PFont font;//delare the font
font = loadFont("Helvetica-48.vlw");//load font
textFont(font);
}
void draw(){
color c = color (0, 0, 0);
color a = color (76, 39, 175);
fill(c);
triangle(x+10, y+10, x+80, y+120, x+150, y+10);
fill(a);
smooth();
triangle(x+20, y+15, x+80, y+110, x+140, y+15);
fill(255);
smooth();
textSize(20);
text("MAGIC", 88, 90);
}
2012年11月21日 星期三
B10010111_賴瑋淳_LOGO
PFont font;
// The font must be located in the sketch's
// "data" directory to load successfully
size(280, 210);
background(255, 193, 45);
smooth();
strokeWeight(1.5); //線
line(210, 180, 250, 180);
line(250, 180, 250, 140);
line(250, 180, 210, 140);
fill(255);
noStroke();
rect(25, 25, 80, 80); //正方形
smooth();
fill(0);
ellipse(90, 90, 80, 80); //圓形
font = loadFont("DFZongYiU-W7-WIN-BF-48.vlw"); //字體
fill(255);
textFont(font, 30);
text("SPATIAL", 90, 100);
textFont(font, 25);
text("INTERACTION" , 90, 125);
textFont(font, 25);
text("DESIGN" , 90, 150);
color(255, 180, 165);
2012年11月18日 星期日
B10010002_賴沛樺_LOGO
void setup() {
size(300, 300);
background(155);
noStroke();
noLoop();
}
void draw() {
drawTarget(width*0.4, height*0.42, 300, 4);//位置 大小圈數
drawTarget(width*0.79, height*0.79, 150,5);
}
void drawTarget(float xloc, float yloc, int size, int num) {
float grayvalues = 255/num;
float steps = size/num;
for (int i = 0; i < num; i++) {
fill(i*grayvalues);
ellipse(xloc, yloc, size - i*steps, size - i*steps);
PFont font;
//font = loadFont("BrowalliaUPC-48.vlw");
textFont(createFont("Arial", 36));//字體
fill(255);//字的顏色
textSize(25);
text("Spatial", 50, 100);
textSize(25);
text("Interaction",50 ,125);
textSize(45);
text("design",50,165);
}
}
2012年11月17日 星期六
b10034002 黃健崴 logo
Eye e1, e2, e3, e4;
void setup(){
size(300,300);
noStroke();
e1 = new Eye( 187, 149, 7);
e2 = new Eye( 132, 125, 14);
e3 = new Eye( 151, 149, 7);
e4 = new Eye( 179, 192, 4);
}
void draw(){
background(102);
PFont font; //delare the font
font=loadFont("DejaVuSans-Bold-48.vlw");
textFont(font);
fill(0);
textSize(40);
text("SPCIAL",53,140);
textSize(21);
text("INTERACTION",55,156);
textSize(38);
text("DESIGN",54,186);
textSize(8);
text("2012 @NTUST",148,195);
smooth();
e1.update(mouseX, mouseY);
e2.update(mouseX, mouseY);
e3.update(mouseX, mouseY);
e4.update(mouseX, mouseY);
e1.display();
e2.display();
e3.display();
e4.display();
}
class Eye
{
int ex, ey;
int size;
float angle = 0.0;
Eye(int x, int y, int s) {
ex = x;
ey = y;
size = s;
}
void update(int mx, int my) {
angle = atan2(my-ey, mx-ex);
}
void display() {
pushMatrix();
translate(ex, ey);
fill(102);
ellipse(0, 0, size, size);
rotate(angle);
fill(0);
ellipse(size/4, 0, size/1.5, size/1.5);
popMatrix();
}
}
2012年11月16日 星期五
B10034043_曾日進
int x=0;
int y=50;
void setup(){
//PFont font;
size(300,300);
int x=0;
int y=0;
}
void draw(){
PFont font;
font = loadFont("BrowalliaUPC-48.vlw");
textFont(font);
background(255);
fill(0);
smooth();
color c = color (25+y,70,100);
fill (c);
noStroke();
ellipse(20+y,80+y,35,35);
ellipse(150,90,144-y,144-y);
y=y+1;
if(y>144){
y=50;}
//triangle(50,40,70,30,100,250);
textSize(144-y);
fill(40);
text("Jacky",30,140);
textSize(y);
fill(40);
text("Hello",100,100);
}
B10034026_張家翎
int x=100;
int y=100;
int z=100;
void setup(){
size(700,700);
}
void draw(){
background(255);
PFont font;
font=loadFont("Stencil-48.vlw");
textFont(font);
color a=color(145,180,0);
fill(a);
noStroke();
triangle(x+40,x-200,z-100,x+20,y+220,z);
color b=color(200, 180, 0);
fill(b);
noStroke();
triangle(x+80,x-150,z-100,x+60,y+220,z);
color c=color(255,204,0);
fill(c);
noStroke();
triangle(x+120,x-100,z-100,x+100,y+220,z);
x=x+5;//add 1 to x
if(x>500){//if x is greater than 100
x=10;
}
fill(255);
textSize(40);
text("Spatial",230,300);
text("Interaction",230,340);
text("Design",230,380);
}
B10010101蕭惠嘉
int x=0; //set the horizontal position縱坐標
int y=55; //set the vertical position橫坐標
PFont font;//delare the font
font = loadFont("Algerian-48.vlw");//load font
textFont(font);
size(300, 300);
background(180, 180, 100);
color c1 = color(100, 130, 0);
color c2 = #FFAA00;
noStroke();
fill(c1);
rect(10, 10, 25, 100);
fill(c2);
rect(25, 25, 40, 100);
color c3 = get(10, 50);
fill(c3);
rect(50, 50, 60, 100);
color c = color (100, 100, 0);
fill (c);
noStroke();
ellipse(10, 40, 50, 50);
fill (c);
noStroke();
ellipse(100, 240, 150, 150);
fill (c);
noStroke();
ellipse(250, 50, 70, 70);
fill (c);
noStroke();
fill(0);
color b = color (80 , 100, 80);
textSize(20);
fill (b);
noStroke();
text("Spatial", 20, 100);
textSize(30);
text("color", 20, 80);
textSize(20);
text("Cloud", 220, 150);
smooth();
noStroke();
lights();
translate(58, 48, 0);
sphere(28);
B10010014 羅珮嘉
size(300,300);
background(220,225,225);
smooth();
color c =color (225,230,0);
fill(c);
noStroke();
ellipse(30,50,55,55);
ellipse(120,90,100,100);
ellipse(80,120,50,50);
fill(0);
smooth();
textSize(30);
text("Spatial",10,40);
textSize(40);
text("Interaction",10,80);
textSize(50);
text("Design",10,130);
F10110006 樂軼燕
String strl="cccp";
void setup(){
size(300,300);
rect(30, 20, 55, 55, 3, 6, 12, 18);}
void draw(){
background(255);
fill(180);
PFont font;
font=loadFont("BrowalliaUPC-48.vlw");
textSize(100);
textFont(font,50);
text("Spatial",50,80);
text("Interaction",50,110);
text("Design",50,140);
smooth();
color c=color(255,204,0);
fill(c);
noStroke();
// ellipse(80,100,55,55);
PImage img = createImage(180, 180, ARGB);
img.loadPixels();
for (int i = 10; i < img.pixels.length; i++) {
img.pixels[i] = color(0,20, 77, i % img.width * 1);
}
img.updatePixels();
image(img, 40, 40);
image(img,65, 65);
println(strl);
}
B10030002_ 李方_Logo
int x = 10;
int y = 150;
void setup(){
size(300, 300);
}
void draw(){
background(213, 210, 255);
fill(255);
ellipse(100, 100, 100 ,100);
color b = color (y, 120, 255);
y = y+3;
if(y>255){
y=0;
}
fill(b);
smooth();
noStroke();
triangle(130, 175, 58, 30, 86, 75);
color c = color (100, 18, 22);
fill(c);
smooth();
noStroke();
textSize(20);
text("Lee", 80, 100);
textSize(30);
text("Fang", 100, 130);
x = x+1;
if(x>30){
x=0;
}
}x
B10030433_陳懷婠_cool_1
size(300, 300);
background(100,200,255);
smooth();
noStroke();
float diameter = min(width, height) * 0.75;
int[] angs = {30, 10, 45, 35, 60, 38, 75, 67};
float lastAng = 0;
for (int i = 0; i < angs.length; i++){
fill(angs[i] * 3.0);
arc(width/2, height/2, diameter, diameter, lastAng, lastAng+radians(angs[i]));
lastAng += radians(angs[i]);
}
text("COOL", 45, 148, -30);
B10030420_蕭雅函_Desing1
void setup(){
size(200,200);
}
void draw(){
background(200,200,0);
fill(255);
noStroke();
smooth();
ellipse(20, 30,60,60);
ellipse(20, 80,30,30);
ellipse(15, 97,10,10);
ellipse(200,150,40,50);
ellipse(185,170,10,10);
text("Desing",20,115);
textSize(20);
}
B10030332_陳思穎_smart_1
noStroke();
colorMode(RGB, 300);
for (int i = 0; i < 300; i++) {
for (int j = 0; j < 300; j++) {
stroke(i, j, 0);
point(i, j);
}
}
background(200,200,0);
size(200,200);
rectMode(CENTER);
ellipse(100,70,60,60);
ellipse(81,70,16,32);
ellipse(119,70,16,32);
quad(150, 61, 82, 85, 90, 60, 36, 80);
text("How smart are you ?",45,115);
[1116] Tech Camp - Processing Introduction
Processing
created by Ben Fry and Casey Reas, MIT licensed- official website
- online resource
- teaching material
- Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction (The Morgan Kaufmann Series in Interactive 3D Technology)
- Processing: A Programming Handbook for Visual Designers and Artists
- Visualizing Data Exploring and Explaining Data with the Processing Environment
- showcases
[EX 1] Hello Processing!
[HomeWork] Create Your won logo
[EX 1] Hello Processing!
[HomeWork] Create Your won logo
- size(300, 300)
- Free Sketch
- filename as [TechCamp] (StudentNumber)_1
- ex: [TechCamp] B12345678_1
- Post it in your category
2012年11月4日 星期日
2012年11月2日 星期五
[1109] 期中發表注意事項(1108更新)
請按照以下規格製作簡報
1. 封面
2. 故事
3. 構想
4. Idea Sketch I
5. Idea Sketch II
6. Prototype
7. 封底
A4 size, Landscape, PDF format.
--1108更新事項--
1. 封面
2. 故事
3. 構想
4. Idea Sketch I
5. Idea Sketch II
6. Prototype
7. 封底
A4 size, Landscape, PDF format.
--1108更新事項--
- 發表以學號為順序,每個人(組)五分鐘,Q&A五分鐘。
- 請預先上傳至Dropbox,應該會收到一封邀請信。若無請同學寄邀請函分享。
- 檔案名稱(學號)_(姓名)_Workshop_1
- ex) 10010010_王大明_Workshop_1
訂閱:
文章 (Atom)