Natural Phenomena with Forces
Brife introduce:
In this sketch, I try to mimic the centrifugal force for the upper object, and gravity and wind for the hanging ball with a fixed string length. I personalize the color and the shape to make it look more childlike.
Inspiration:
Working Process:
At first, I want to make apply all these forces in one single set of objects. So, I started with the gravity and wind one.
By setMag() and limit() for the vector, I am able to make the string with a fixed length and let the wind force and gravity be applied smoothly.
Then I started to use vector to mimic the centrifugal force.
I experiment a little bit for the circle and ellipse track. If I want a circular track, I need to take care of the size of the force, and its velocity’s direction and value. F=mv^2/R
I first draw the tracks i need using Vector.
Then connecting each vector’s endpoint together.
I use lerp for vector to give the ball a smooth transition between mover1 and mover2.
I also found that because a segment of the vector was always at the origin, and my wind chimes were circling the ellipse instead of a fixed point, I had a hard time combining my two sketches, so I changed the end goal, and I made the two OBJECTS separately. I changed the shape of the first wind chime so that one end of the rope was pooled at the origin and finally moved to the adapted position with the translate. To be able to generate a series of blobs, for the elliptical shaped trajectory, I used cos and sin instead of vector, returning to my comfort zone for a while 😇.
Cute code🥰🥰🥰. Another masterpiece by Lisa!