C)
Click to change pta and ptb | code
I made the Box a thin line and changed the variables so
the position of the line changes as the mouse moves
D)
The shaper controlls something else besides position | code
I managed to change the color and size and managed to
move it on its own
E)
multiple xenos | code
All the boxes followed the arrow at different speeds and
made a pattern
Homework number 3
Make a composition using the animation techniques that is a tribute to john whitney. | code
B)
Since we talked in class about this idea of a relationship between sound and visual synthesis (and harmony) find a 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. | code
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
make the lissajous example work based on mouse motion. it would be a *smart thing* to convert the mouse position into floating point numbers between 0 and 1. (for example, float pct_x = (float)mouseX / (float)ofGetWidth() ). we LOVE numbers between 0 and 1. allow mousex to control the speed of the signal (ie, what angle is multiplied by) to the x half of the circle code and mouse y to control the signal to the y portion of the circle equation. take a screen shot of the best looking combination. | code
E)
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
Homework number 5
A)code
Create a looping fireworks animation (non interactive).. | code
B)code
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 sarting positions/velocities of these objects interesting. can you use sin/cos to make the movement or drawing of the particle more interesting?. | code
C)Source code
Data code
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
Homework number 6
A,B,C)code
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. | code
Advanced)
Convert the vector field into an image, using hsv color – use the angle of the vector field for the hue (think angle = position on the color wheel), magnitude for brightness, and use full saturation. Then convert hsv to rgb info (some transformation routines are available here: here / here) and put that into a pixel array. Then upload this pixel array into a texture and draw it. You might need play a bit with the resolution of the vector field (you might need higher res to get a good texture image). | code
Homework number 7
Using the arduino, firmata, and starting from the code from day_7, recreate one of the animations you’ve done in your previous homeworks in a creative way. Use potentiometers and switches to control percentages, triggers and create a nice looking control panel of the screen animation.
Potentiometer test
Servo-motor test
Potentiometer and Lissajous test 1)code
Potentiometer and Lissajous test 2)code
Homework number 8
HULA GIRL DANCES THANKS TO THE SERVO MOTOR
Using the legos, and looking at this: create an animated object representing linear, non-linear, circular, oscillating or any (combination of) motion. Remember the switches we created in class using everyday metallic objects, and create an innovative switch to trigger or modify the animated object..
Homework number 9
I'm working on it right now
Homework number 10
Sodaplay
Homework number 11
3D fireworks!!!