Difference between revisions of "User:NTaher"

From Graphic Design Arnhem
Jump to navigation Jump to search
Line 28: Line 28:
 
== ''' Homework''' ==
 
== ''' Homework''' ==
 
=== Processing ===
 
=== Processing ===
 +
String mytext = "Art student";
 +
String [] myfonts = PFont.list();
 +
printArray(myfonts);
 +
PFont myfont;
 +
myfont = createFont("YuKyo-Bold", 30);
 +
textFont(myfont);
 +
textAlign(CENTER, TOP);
 +
size(800, 600);
 +
background(180, 100, 90);
 +
fill(5);
 +
for (int i = 0; i <600; i = i + 30)
 +
{
 +
  println(i);
 +
  fill(i);
 +
  text("Art student", 400, i);
 +
}
 +
</div>
 +
 +
 +
 +
PShape square;  // The PShape object
 +
 +
void setup() {
 +
  size(600, 600);
 +
  background(255,255,255);
 +
  // Creating the PShape as a square. The
 +
  // numeric arguments are similar to rect().
 +
  square = createShape(RECT, 0, 0, 150, 150);
 +
  square.setFill(color(200, 80, 255));
 +
  square.setStroke(false);
 +
}
 +
 +
void draw() {
 +
  shape(square, 500, 500);
 +
}
 +
  
</div>
+
 
 +
 
 +
size(600, 600, P3D);
 +
fill(180,70, 180);
 +
 
 +
background(255);
 +
beginCamera();
 +
camera();
 +
rotateX(-PI/6);
 +
endCamera();
 +
 
 +
translate(50, 50, 0);
 +
rotateY(PI/3);
 +
box(40);
 +
 
 +
 
 +
//bezier
 +
 
 +
size (800,600);
 +
background (180,70, 90);
 +
fill(68);
 +
stroke(255, 102, 0);
 +
line(85, 20, 10, 10);
 +
line(90, 90, 15, 80);
 +
stroke(0, 50, 0);
 +
bezier(85, 20, 10, 10, 90, 90, 15, 80);

Revision as of 14:55, 24 September 2017

IMG 1264.JPEG


About me

My name

Nora Fawzia Taher


My Age

18 Years - 11 months - 17 days - 10 hours - 41 minutes

(probs out of date when you read this)
My Birthday
00:11 - 07 - 10 - 1998
200w d.gif
My Instagram

https://www.instagram.com/norafawzia/


Fullsizeoutput a72.jpeg



Homework

Processing

String mytext = "Art student"; String [] myfonts = PFont.list(); printArray(myfonts); PFont myfont; myfont = createFont("YuKyo-Bold", 30); textFont(myfont); textAlign(CENTER, TOP); size(800, 600); background(180, 100, 90); fill(5); for (int i = 0; i <600; i = i + 30) {

 println(i);
 fill(i);
 text("Art student", 400, i);

}


PShape square; // The PShape object

void setup() {

 size(600, 600);
 background(255,255,255);
 // Creating the PShape as a square. The
 // numeric arguments are similar to rect().
 square = createShape(RECT, 0, 0, 150, 150);
 square.setFill(color(200, 80, 255));
 square.setStroke(false);

}

void draw() {

 shape(square, 500, 500);

}



size(600, 600, P3D); fill(180,70, 180);

background(255); beginCamera(); camera(); rotateX(-PI/6); endCamera();

translate(50, 50, 0); rotateY(PI/3); box(40);


//bezier

size (800,600); background (180,70, 90); fill(68); stroke(255, 102, 0); line(85, 20, 10, 10); line(90, 90, 15, 80); stroke(0, 50, 0); bezier(85, 20, 10, 10, 90, 90, 15, 80);