Week 2 assignments

animation experiment:

Based on the work of Robin Roades, make an animation with still images. If you can, cross fade between them. Can you tell a story with just a few frames? Think especially of using people and or mixing scales. Don’t doctor the images, and keep the camera stationary.



Code:

a) fastest non moving speed

find the fastest speed for the square to move across the screen and have the motion be imperceptible. Time how long it takes for the square to move across the screen and measure the physical (not pixel) distance. What is this speed in inches/second ? for kicks, What is it in in mph?

  • R:: increase position x by 410. Which is the size of the screen, plus the half of the size of the rectangle in pixels.
  • using ofGetElapsedTimef() the time it takes to cross the stage is 0.145 seconds.
  • Distance from start position of square to end of stage = 3.5 inches
  • Speed = 24.82 inches/second or 1.41 mph

  • Source Code
  • b) fastest still perceptible speed

    find the fastest speed for the square to move across the screen and have the motion be still perceived as continuous (not discrete jumps). Time how long it takes for the square to move across the screen and measure the physical (not pixel) distance. What is this speed in inches/second ? What is this rate in mph?

  • increase position x by 21. Which is the size of the rectangle
  • using
  • Distance from start position of square to end of stage = 3.5 inches
  • Speed = 5.83 inches/second or 0.33mph
  • Source Code
  • c) click to change pta and ptb

    make an application where whenever you click, you change either the ptA position or the ptB position to the mouse position, alternating every time you click.

  • Source Code
  • d) shaper controlls something else besides position

    Make the shape code control another property of the object, such as its size or color. Make the nicest composition that you can. Try to make it elegant and organic.

  • Source Code
  • e) multiple xenos

    make a series of xeno objects which follow the mouse, each at different rates. give them slightly different colors so that you can perceive them as independent objects. you will have to modify the rectangle object so that they can have unique colors.

  • Source Code
  • f) multiple xenos trail

    If you are really feeling like showing off, make an array of xeno objects where the first element follows the mouse, the second element follows the first, the third follows the second, etc.

  • Source Code
  • g) shapers via penner

    in class, we used powf to shape a linear signal. there are more advanced ways to do this (for easing and out, and for snap to, etc). Some of these have been collected by robert penner as “easing equations”. some folks have ported this from AS to c++, you can find them here & here try to hook them up and make a compelling composition with linear and nonlinear animating elements.

  • Still trying...