void setup(){
size(1000,700);
background(0);
// BMW
fill(0);
stroke(100);
strokeWeight(10);
ellipse(250,250,400,400);
fill(255);
stroke(100);
strokeWeight(5);
ellipse(250,250,250,250);
fill(#2E9AFE);
stroke(100);
arc(250,250,250,250,0,PI/2);
arc(250,250,250,250,PI,TWO_PI-PI/2);
line(125,250,375,250);
line(250,125,250,375);
// Benz
fill(0);
stroke(255);
strokeWeight(15);
ellipse(700,250,400,400);
fill(255);
stroke(255);
strokeWeight(15);
triangle(700,50,690,250,710,250);
triangle(540,370,690,250,700,270);
triangle(860,370,690,260,710,250);
//text
fill(#FFC903);
textSize(50);
text("THE TRANSPORTER",250,650);
//Console
println("This Project is German Car Brands");
println("Left is Bavarian Motor Works");
println("Right is Mercedes Benz");
}
แสดงบทความที่มีป้ายกำกับ Lab 0 แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ Lab 0 แสดงบทความทั้งหมด
วันจันทร์ที่ 17 สิงหาคม พ.ศ. 2558
Lab 0 - Music
void setup(){
size(600,250);
background(255);
fill(#FA3030);
stroke(#FA3030);
ellipse(150,300,400,400);
quad(150,250,150,100,550,100,470,250);
fill(#FA309F);
stroke(#FA309F);
ellipse(180,290,600,300);
fill(#FFFFFF);
PFont font;
font = loadFont("SegoeUI-BoldItalic-200.vlw");
textFont(font,150);
text("vevo",120,210);
fill(#000000);
PFont font2;
font2 = loadFont("dY-Jidrid-48.vlw");
textFont(font2,60);
text("Savage Garden",120,75);
}
Lab 0 - Book
void setup(){
size (800,600);
background(#FFEA00);
//Center Alphabet
fill(#E50000);
stroke(#E50000);
rect(360,200,80,160);
rect(310,240,180,80);
quad(280,440,310,360,360,360,360,440);
arc(360,360,160,160,0,HALF_PI);
//Left Alphabet
fill(#E50000);
stroke(#E50000);
ellipse(580,280,160,160);
rect(660,240,80,120);
quad(500,440,530,360,660,360,660,440);
arc(660,360,160,160,0,HALF_PI);
//Right Alphabet
fill(#E50000);
stroke(#E50000);
arc(220,320,160,160, PI+PI/2, TWO_PI); //<>//
arc(220,360,160,160,0,HALF_PI);
rect(220,320,80,40);
rect(110,240,110,80);
quad(80,440,110,360,220,360,220,440);
// Text
textSize(40);
text("Detective Conan",30,220);
}
size (800,600);
background(#FFEA00);
//Center Alphabet
fill(#E50000);
stroke(#E50000);
rect(360,200,80,160);
rect(310,240,180,80);
quad(280,440,310,360,360,360,360,440);
arc(360,360,160,160,0,HALF_PI);
//Left Alphabet
fill(#E50000);
stroke(#E50000);
ellipse(580,280,160,160);
rect(660,240,80,120);
quad(500,440,530,360,660,360,660,440);
arc(660,360,160,160,0,HALF_PI);
//Right Alphabet
fill(#E50000);
stroke(#E50000);
arc(220,320,160,160, PI+PI/2, TWO_PI); //<>//
arc(220,360,160,160,0,HALF_PI);
rect(220,320,80,40);
rect(110,240,110,80);
quad(80,440,110,360,220,360,220,440);
// Text
textSize(40);
text("Detective Conan",30,220);
}
สมัครสมาชิก:
บทความ (Atom)