Week 5 Homework

This is one of the scenes in the tale ‘Ali Baba and the Forty Thieves’ from the ‘1001 Arabian Nights’. The scene is when Ali Baba says “Open Sesame” and opens the cave.

1 2

ali_baba___40_theives

*notes:

  • the right arm moves (code taken from Example/Transform/Arm in Processing and manipulated)
  • when mouse pressed, the speech bubble appears and the cave door moves
  • clouds move around on their own

Week 5

The Tale of Peter Rabbit

Screen shot 2013-03-04 at 11.51.51 PM

 

cyh_week5

However, I didn’t get to do everything I wanted. First it took me forever to figure out how to use “if”s      to alternate images of the blue bunny. Hopefully by class I’ll figure out how to use “mousePress” to freeze his current position and somehow loop him back in, because he just keeps on running off into space.

************************************

I figured it out, now. Click the mouse to slow him down. He also loops back so that the  true/fase statement doesn’t keep running on.

Week 5 Homework

This is a scene from Peter Pan.

A moon with a random size will slide into place.  The random amount of stars blink.  The boat sails left to right and bobs up and down.  When the boat reaches the end of the window, it flips around to sail back.  Tinkerbell moves along the cursor and has little particles falling below.  And every time mouse is clicked, fireworks with random amount of particles blows into the air.

 

Screen shot 2013-03-04 at 8.14.18 PM

zip:tinkerbell_final

PDE: tinkerbell_final