Showing posts with label Week 3. Show all posts
Showing posts with label Week 3. Show all posts

Wednesday, 24 March 2010

What IF


Working with if statements. Just a ball changing direction and speed using the IF Statements, pretty straightforward.

CLICK HERE

lets take what we have learned...


Now lets apply that knowledge to the record player and also spin the graphics on the label using a push matrix, and individually created draw functions, which allows us to set a rotation point rather than the images spinning on their centre points.

CLICK HERE

Starting to look good!

PI PI PI Delilah

I mentioned before how I wanted to make my record player spin and this would involve rotating arcs will I didnt know much about PI calculations, but I found the radians conversion code and this was a big help and allowed me to convert to degrees and back again. Here are 2 practice spinning arcs one that just spins and the other looks like its drawing a circle.

1 CLICK HERE

2 CLICK HERE

And now he blinks


Ooo you could almost hug the screen, added more life to my little bear by making him blink when you press the mouse button.

CLICK HERE

Teds looking at YOU


Decided to make the eyes on my teddy follow the mouse pointer, Brings him to life Bless him.

CLICK HERE

Week 3 Variables


Already came across the wonderful world of variables whilst creating previous sketches. But thats the name of the topic this week. They allow you to create interesting animated sketches. First up the balls example from last week moving of its own accord. added a trail by overlaying a square with an alpha value of 25 each time the draw function loops, creates a nice effect.

CLICK HERE