GMU:Processing im Park/Katja Bliß: Difference between revisions

From Medien Wiki
Line 9: Line 9:
== Homework 2 ==
== Homework 2 ==
[[File:Rillen.gif]]
[[File:Rillen.gif]]
PImage img;
PImage sourceImage;
void setup(){
size(500, 500);
sourceImage = loadImage ("bild2.jpg");
image (sourceImage, 0, 0, 500, 500);
}
void draw(){
img = loadImage ("bild3.jpg");
int x = 30;
int width = 450;
int height = 10;
img.resize(500, 500);
for (int i = 40; i < 441; i = i + 20) {
  copy(img, x, i, width, height, x, i, width, height);
}
save("image.gif");
}


== Homework 3 ==
== Homework 3 ==
[[File:chairs_1.gif]] [[File:chairs_2.gif]]
[[File:chairs_1.gif]] [[File:chairs_2.gif]]

Revision as of 12:46, 17 December 2015

Katja Bliß

My Profile

Homework 1

Rotten grid.jpeg


Homework 2

Rillen.gif


PImage img; PImage sourceImage;

void setup(){

size(500, 500);

sourceImage = loadImage ("bild2.jpg");
image (sourceImage, 0, 0, 500, 500);

}


void draw(){

img = loadImage ("bild3.jpg");
int x = 30;
int width = 450;
int height = 10;
img.resize(500, 500);

for (int i = 40; i < 441; i = i + 20) {
  copy(img, x, i, width, height, x, i, width, height);
}
save("image.gif");

}


Homework 3

Chairs 1.gif Chairs 2.gif