No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
[http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Katja_Bli%C3%9F/code4 Sourcecode] | [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Katja_Bli%C3%9F/code4 Sourcecode] | ||
== Homework | == Homework: Soundfiles in the map == | ||
[[File:Parkhoehle_katja.png]] | [[File:Parkhoehle_katja.png]] |
Revision as of 13:29, 21 January 2016
Katja Bliß
Homework 1
left picture: Sourcecode
right picture: Sourcecode
Homework 2
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);
}
}