CeilingCat (talk | contribs) No edit summary |
CeilingCat (talk | contribs) |
||
Line 11: | Line 11: | ||
[[File:Pole123456.jpg|thumb|left|300px]] | [[File:Pole123456.jpg|thumb|left|300px]] | ||
PImage[] images = new PImage[8]; | |||
int d; | |||
int dx; | |||
int dy; | |||
void setup() { | |||
size(600,600); | |||
background(0,0,0); | |||
d=75; | |||
for (int i=0; i<8; i++) | |||
images[i] = loadImage("p"+ i +".jpg"); | |||
} | |||
void draw() { | |||
rotate(frameCount*0.1); | |||
int pick = frameCount % 8; | |||
image(images[pick],mouseX-d,mouseY-d,150,150); | |||
<br style="clear:both;"> | <br style="clear:both;"> | ||
Line 20: | Line 39: | ||
[[User:Ms| — Martin Schneider]] 10:08, 17 December 2015 (UTC) | [[User:Ms| — Martin Schneider]] 10:08, 17 December 2015 (UTC) | ||
Code is coming. | Code is coming.<br> | ||
--[[User:CeilingCat|CeilingCat is watching you Processing...]] 22:32, 18 December 2015 (UTC) | --[[User:CeilingCat|CeilingCat is watching you Processing...]] 22:32, 18 December 2015 (UTC) | ||
Revision as of 23:11, 18 December 2015
Homeworks
Homework 1
Homework 2
Homework 3
PImage[] images = new PImage[8]; int d; int dx; int dy; void setup() { size(600,600); background(0,0,0); d=75; for (int i=0; i<8; i++) images[i] = loadImage("p"+ i +".jpg"); } void draw() { rotate(frameCount*0.1); int pick = frameCount % 8; image(images[pick],mouseX-d,mouseY-d,150,150);
Comments
Hey Volker, this one is really nice!
Please share your code :)
— Martin Schneider 10:08, 17 December 2015 (UTC)
Code is coming.
--CeilingCat is watching you Processing... 22:32, 18 December 2015 (UTC)