Archives for category: fall 2011

systemDiagram

Take some time and get familiar with soda constructor + make a creature.

In code, try to make experiments using vector fields and particle particle interaction.

a) try to model a natural phenomenon, such as smoke, water, waterfalls, puddles, etc. What interesting combination of forces can you come up with?

code

b) try to create a game using particle particle interaction or vector fields.

c) design something that affords interaction w/ out using a keyboard and mouse, think about computer vision, sound input or other ways of getting human / gestural input into the system. Think about leaving the screen. Carefully document your experiments.

Create 3 compositions using the vector field. These can be interactive or static (meaning, the VF can change or not based on user input) based on input from the mouse, keyboard, or video / camera (as shows in the last example). Think about drawing and using the particles in an interesting way (not just circles, but how do draw images, use atan2, etc). Play with the damping forces inside of the particles. Make an interesting and unique field for the particles to move on. Be sure to experiment with turning off the drawing of the field. If you want to, think of a “game” based on this.

code

code

code

1. Take a video of “real world particles”

See for example, work by adam kramer

http://vimeo.com/30001963

2. Create a looping fireworks animation (non interactive). You will need to reset or restart particles every so often.

code

3. Since you know how to position things in a circle using the formula:
x = x_orig + radius * cos (angle);
y = y_orig + radius * sin (angle);
Think about how you could use sinusoidal information to start all the particles with some interesting positions / velocities. Instead of using random, use sinusoidal information (in any way you want) to make the starting positions/velocities of these objects interesting. Can you use sin/cos to make the movement or drawing of the particle more interesting?

code

4. Besides evidence to the contrary, particles don’t have to be just circles! You can draw them however you want. Can you create an interesting effect with transparency or by using images? Can you use parameters, like velocity to control the way these objects are drawn (like, they get smaller as they slow down, or more transparent, using angle of the velocity to rotate, etc). Think about trying to create a natural phenomenon or make something really nice looking.

code

This slideshow requires JavaScript.

Everything goes by super fast in the video, but to break things down here’s the flow:
1) The power gets activated. (Shown by pushing the ‘test’ button on the power supply)
2) Power activates the motor which sends the ink tray across the printer. Since the motor would normally keep trying to push the ink tray one direction, causing a nasty clicking sound, we installed a kill switch that the tray flicks as it passes which turns off the motor.
3) The ink tray knocks over part of the old printer’s power supply casing which is tied to a string, which is in turn tied to a lever. When the casing drops it pulls on the string with enough force to throw the lever.
4) The lever starts some gears in motion that drops the paper tray on the printer.
5) The paper tray is attached by a string which is tied to a camera lens. When the tray drops it pulls the lens’ zoom.
6) That lens has a small arm that extends and retracts when manipulated. We attached to wire leads to that arm, causing another circuit to be closed or opened depending on the lens’ state. When the string pulls the arm is retracted and the circuit closed, causing the scanner’s light bar to start moving.

Assignment :: Using the point recorder code, create multiple point recorders instead of just one. Every time you draw, create another point recorder. Create a clear function. Can you use these multiple point recorders to create something interesting ?

code

1. Make a composition using the animation techniques that is a tribute to john whitney.

code

2. Since we talked in class about this idea of a relationship between sound and visual synthesis (and harmony) find a short piece of music (can be any duration as long as there are multiple notes – a short snippet, or a long song) and make a composition that is a visual equivalent of that sound. Think about how the make a visual equivalent using the techniques we talked about this week. Post both the sound and the resulting animation. Try to bring out some essential truth of the audio through the visualization.

code

3. Try to use sin and cos to emulate a natural phenomenon (ie, something you see in the natural world). be sure to provide some documentation (video / picture / text) of what this phenomenon is.

code

4. Extend the xeno / atan2 code, making a creature which follows the mouse. think of how you could use sinusoidal animation techniques to give the object some “life” – breathing, blinking, etc.

code