home > homework_06
a,b,c) Create 3 compositions using the vector field. These can be interactive
or static. Be sure to experiment with turning off the drawing of the field.
hw_6_a2.zip Just my first experiment with trying to understand the vector
field. I tried changing different variables to help me understand which parts
of the code control the different parts of the visualization. I fed the color
a variable that was dependent on the mouseX position.
hw_6_b.zip Taking the vector field from the first composition I added
a particle system to it. I also added a control that when the "R" button
is held down the force exerted by the vector field is reversed. It is
visible at the end of the video and is subtle which is what I was aiming
for, a tool to tweak the vector field and flow of particles.
hw_6_c.zip Gratuitous holiday scene. I gave he snowflake (particles)
a downward force and looped them from the bottom of the screen to
the top (props to Catherine Lewis's code for the inspiration.) Then gave
the mouse the ability to effect the vector field in attempt to create
swirling snowflakes.