NOC: Class 03

Class 03  |  Oscillation|  Polar Roses  |  Example


Class 03  |  Design a creature with oscillating parts (legs, wings, antennae, etc.) Consider tying the speed of oscillation to the speed of the creature's linear motion. Can you make it appear that the creature's internal mechanics (oscillation) drive its locomotion?

I decided to experiment on Polar Roses for this week assignment.

info: Link          |          Tutorial: Link


Once I’ve brushed up on my trigonometry and understood to a certain level on how to implement its logic with code, I played around with rotation and sin, cos and their abilities to manipulate shapes.

I wanted to make a pattern generator creating a generative pattern from this algorithm.

I think my question is I couldn’t successfully get the object to attract each other and I don’t know why it’s not working. I tried to get the mover’s object(flower) to animate according to the attractor’s radius(circle in the middle). The circle would be getting bigger and smaller in the middle.

 

EXPERIMENT 01


EXPERIMENT 02


NOC: Class 02


What I planned to achieve this week is to add 2 functions in terms of FORCES are: 

1. Press + hold a mouse, all the mover particles would come rushing to the attractor. 

2. Once release the mouse, all the mover particles dispersed outwards. 

I tried to experiment with when all the movers particles are all close/attracted to the attractor would dispersed outward really fast and vice versa.

I got really confused with the parameters of the object thats within a function. For example, from the example code below. 

Example Code Chapter 2.6: Attraction.  >>> Link to Code <<<

 I mean it just randomly appeared. There is no declaration of “m” anyway. I understand that its a callback function and what it’s really doing is hold a value and pass it…..right? 

 

At first I tried adding a mousePressed() function to get me started on the no.1 feature I want to get "Press + hold a mouse, all the mover particles would come rushing to the attractor. ". 

 

NOC: Class 01


1. Develop a program that experiments with motion.
2. Apply the rules of motion to another medium of expression: sound, color, number, scale.



RANDOM WALKER   |   LEVY FLIGHT   

This Levy Flight technique made me wonder if somehow I can use a camera function and follow its path and show the path of my line drawings on screen. So as the line flip and turn, the screen would also flip and turn like I'm riding on a roller coaster.

I only tweaked this sketch a little bit to see if I can make the step taken curve instead of a straight line. I used bezier() instead of line() and adjust the control points to get the curve path.  After I did this sketch with bezier and looking at it now maybe there is an easier way to do this instead?

Also I want to thank you Mithru! He really helped me get started on the sketch and explain the complexity of how to control the bezier. 


EXPERIMENT WITH MOTION

I later move on to experiment with motion. At first the sketch looks really boring but as soon as I increase the number of ellipses from 20 to 4000, I'm very happy the visual effects! I think I'm going to add the Rainbow Levy Flight sketch onto this sketch and make the Levy disturb the flow pattern for the next class.