Wednesday, September 30, 2009

Homework 3-1 & 3-2: James 95130385

http://icac.no-ip.org/james/95130385HW3-1/Hw3-1.html

It very fun today. I can learn a lot of thing for this course in
every week.Because we can see something inconceivable interactive
media every Tuesday.and we also can do or make it can work by
ourselve it like something impossible. I learn about mouseX, mouseY,
functions. it can make the picture follow the mouse moving.

http://icac.no-ip.org/james/95130385HW3-2/HW3-2.html

If you use if(mousePressed == ture), it can happening when you click your mouse.
prinln(mouseX+" "+mouseY) it can know where the position of mouse.
And the print function can know X and Y. It make the rect postition can find easily.
Also use if function with stroke(), strokeWeight(), can change color or size.

In my program, first one on the top is change the size to 10.
Second one on the top is change the size to 1.
Third one can clear the table and change the storke color to black and size is 1.
Those rect() at down page with colors just change the stroke color.

No comments:

Post a Comment