skip to main |
skip to sidebar
Working with if statements. Just a ball changing direction and speed using the IF Statements, pretty straightforward.
CLICK HERE
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!
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
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
Decided to make the eyes on my teddy follow the mouse pointer, Brings him to life Bless him.
CLICK HERE
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