Showing posts with label 96130040 Vivian. Show all posts
Showing posts with label 96130040 Vivian. Show all posts

Monday, January 4, 2010

HW12--96130040--Vivian (piano)

HM7-96130040-Vivian

Comment:
In this class i've learned to
Translate (move the center)and Rotate(switch angle)
translate(300,300);
rotate(i*PI/180);
Besides,
I understand to make some motions using "FrameRate".

HM6-96130040-Vivian


















Comment:

In this class i've learned to let image
Fade in, Fade out, Horizontal, and Vertical, Special.

if(mode ==0 && 150+i<550) i="i+20;" mode="1;" mode ="=">0)
i=i-20;
else
mode=0;

image(img,150+i,150,300,300);


It is difficult to create
and make more time to changethe code and let it run.

HM5-96130040-Vivian

5-01.












5-02.











5-03.












Comment:
In this class i've learned to brows images
front for brows left
back for brows right

front = front+1;
back = back+1;

if(front>20)
front=1;
if(back>20)
back=1;
imgFront = loadImage(front+"f.jpg");
imgBack = loadImage(back+"b.jpg");

HM4-96130040-Vivian
















Comment:
In this class i've learned
to insert words or font is to declare
font = loadFont("TheSans-Plain-12.vlw");
tectFont(Font);
textSize(10);
fill(0);text("size 5",310,25);

and the function to save
save("draw.jpg");

Tuesday, October 6, 2009

HW3_96130040_Vivian

HW3-1_eyes moves















HW3-2_little painter









notes
in this class i've learned:
HW3-1
(mouseX*?, mouseY*?),to move it by X or Y roll
and have tried many ratio to let it move apparently
HW3-2
the next func. is to create board let the user draw on it
it contains mousePressed(), to check the mouse click on
and (pmouseX,pmouseY), the previous frame to
(mouseX,mouseY), end point, in specific area.
and also the condition if(), and Logical operator,||,&&
to recognize the mouse is in the area or not.
challenge i face:
the choose color area was painted at 1st time,
after defined the drawing area, the prob. solved.

Monday, October 5, 2009

HW2_96130040_Vivian

2-1:rect randomly

















2-2:copy from textbook













2-3:3x4 ellipses with inside small ellipse
















notes:
in this class i'v learned
random(), to change variables
for(), to repeat the func ...different rect
and use nested loop...3x4ellipes with inside small ellipes
put main func.in void draw(){},then
frameRate(), in void setup(){}, change speed=(?)/sec
or no loop(), ...to stop(no change)

Monday, September 14, 2009

Homework1 - Vivian 96130040

Oringinal









After








my notes:
this will become a brand new thinking to me...
not far away, i study programming in code
with black and white window, but now
media gives the color... really amazing.
In this class as a beginer ve learnd code:
size(), to initial how big of the back
storke(),the line's thin or thick
background(), to set the initail color
triangle(), quad(), rec(), to build some shapes
& i find da software is for RGB256 mode not Hex.