homework 4 (optional)

this homework is optional, meaning, you can do it if you want and get some extra credit. I strongly recommend you do these optional things, you will get more out of the class and it will challenge you. Please also try to document your solutions by recording a movie - it'll help your pages and also your classmates.

a) using the point recorder code, create multiple point recorders insted 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 ? shoot a short video.



I just made two point recorders for this one. I'm guessing I could use an array or a vector to make more, but I wanted to solve this the easiest way possible. I intended to come back to it later, but I started having fun with the other parts of the homework and ran out of time. Any key press will clear the point recorders.

CODE ZIPPED

b) right now the playback of the point recorder is just one point (at time t), can you create a second point (at time time-1.0, ie time minus one second, for example) as in Scott Snibbe’s motionsketch ? It would be nice to use the total duration to figure out to space out multiple playbacks so they are equally divided.



When I did this one, I drew a second circle at the time minus one second point and I colored it blue. After I watched the sketch, it reminded me of red and blue 3-D images, so I adjusted the colors to match more perfectly and I tried it with 3-D glasses. It looks pretty good, but to be truly 3-D, I would need for the images to never switch sides. Since blue always follows red, it will only give the impression of 3-D when it's going from left to right. From right to left, it spoils the illusion. I could fix it by making the blue circle's x value always somewhere to the left of the red circle's x. I decided to leave it as it is though to satisfy the homework assignment.

CODE ZIPPED

c) in one example, point recorder is use to control the property of sound synthesis. can you use it to control some other properties of media, like playback position of a movie or opacity of some images? Think about all of the parameters you can get from the playback unit and how you can use them. Make some playful, creative system.





I did two sketches for this one. With the first one, I used the point recorder to control the alpha value of the top level image, revealing the lower image as it fades. In the second sketch, I use the point recorder to control the speed and amount of rotation forn the image.

CODE ZIPPED

CODE ZIPPED