GMU:Processing im Park/Sina Stolp: Difference between revisions

From Medien Wiki
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Sina Stolp===
===Sina Stolp===


This is the "Processing im Park" page of [[user:stolpertz|stolpertz]]
This is the "Processing im Park" page of [[user:stolpertz|Sina Stolp]]


== Homework 1 ==
== Homework 1 ==
Line 11: Line 11:


<br style="clear:both;">
<br style="clear:both;">
source code:
see the code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Sina_Stolp/slideshow_code  ''here'']
<source lang="java">
PImage img1;
PImage img2;
PImage img3;
PImage img4;
PImage img5;
PImage img6;
PImage img7;
PImage img8;
PImage img9;


int frame;
== Homework 2 ==


void setup() { 
[[File:raster.png]]
  size(400, 400);
<br style="clear:both;">
  background(0, 0, 0);
see the code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Sina_Stolp/raster_code ''here'']
  frameRate(3);
  frame = 1;
 
  img1 = loadImage("r1.jpg");
  img2 = loadImage("r2.jpg");
  img3 = loadImage("r3.jpg");
  img4 = loadImage("r4.jpg");
  img5 = loadImage("r5.jpg");
  img6 = loadImage("r6.jpg");
  img7 = loadImage("r7.jpg");
  img8 = loadImage("r8.jpg");
  img9 = loadImage("r9.jpg");
}
 
void draw() {
  if (frame > 9) {
    frame = 1;
}
 
if (frame == 1) {
  image (img1, 0, 0, 400, 400);
}
if (frame == 2) {
  image (img2, 0, 0, 400, 400);
}
if (frame == 3) {
  image (img3, 0, 0, 400, 400);
}
if (frame == 4) {
  image (img4, 0, 0, 400, 400);
}
if (frame == 5) {
  image (img5, 0, 0, 400, 400);
}
if (frame == 6) {
  image (img6, 0, 0, 400, 400);
}
if (frame == 7) {
  image (img7, 0, 0,400, 400);
}
if (frame == 8) {
  image (img8, 0, 0,400, 400);
}
if (frame == 9) {
  image (img9, 0, 0, 400, 400);
}
frame = frame + 1;
}
 
</source>
 
== Homework 2 ==


== Homework 3 ==
== Homework 3 ==


[[File:Sternchenn.gif|left|frame|beautiful sterni bottles with changing background]]
[[File:Sternchenn.gif|left|frame|beautiful sterni bottles with changing background]]
<br style="clear:both;">
see the code [http://www.uni-weimar.de/medien/wiki/GMU:Processing_im_Park/Sina_Stolp/sterni_code ''here'']

Latest revision as of 10:53, 2 November 2018

Sina Stolp

This is the "Processing im Park" page of Sina Stolp

Homework 1

As a homework I created a slideshow of pictures I took in Ilmpark

Parksession.gif



see the code here

Homework 2

Raster.png
see the code here

Homework 3

beautiful sterni bottles with changing background


see the code here