zaterdag 31 oktober 2009

Basic exercises

I've just finished 2 of the basic exercises, they are on this website: 

http://home.student.utwente.nl/p.j.pelt/basic/basic.html


And I've fixed the collision on my walking dudes, thanks to the code from Jan.

Working webversion is here:

http://home.student.utwente.nl/p.j.pelt/colide/index.html


Enjoy!

vrijdag 23 oktober 2009

worst page











Today, i submitted my worst page, here it is:

http://home.student.utwente.nl/p.j.pelt/



And today I've worked on my walking group of dudes (pictured above) but I've still got problems figuring out the collision.


vrijdag 9 oktober 2009

Technet_live!


Yesterday I was at Technet_live. It was awesome. The lectures where very interesting, Steve Balmer was there. And in the end we all got windows 7 ultimate!


dinsdag 6 oktober 2009

Walking dude.

Here's my dude:

Link here.

Here's the code:

int x;
int c;
int v;
PImage ab;

void setup() {
ab = loadImage("abbey.jpg");
background(255);
size(400,400);
}

void draw() {
background(ab);
stroke(0);
rectMode(CENTER);
x = mouseX;
c = mouseX;
c = c/50;
c = round(c);
c = c * 50;
c = c - 10;
v = mouseX-15;
v = v/50;
v = round(v);
v = v*50;
v = v+10;
rect(x,300,30,50);
rect(x,260,20,20);
rect(x,273,5,5);
line(x+10,325,c+30,350);
line(x-10,325,v+30,350);
line(x+15,275,x+30,320);
line(x-15,275,x,320);
}

He will move with the mouse, and he will walk.

Now with extragratis popculture reference.