Move Pendulum: Forces, Positions & Arbitrary Movements

  • Thread starter Thread starter mangaluve
  • Start date Start date
  • Tags Tags
    Pendulum
AI Thread Summary
To simulate a pendulum in computer graphics while allowing for arbitrary movements of the pivot, it's essential to understand the forces acting on the pendulum and how to update its position. The motion of the pivot can vary; if it moves at a constant velocity or accelerates at a constant rate, the transformation is straightforward. However, if the pivot accelerates arbitrarily, the simulation becomes more complex. Utilizing the Lagrangian formalism can simplify the process, though it requires some calculus knowledge. This approach is particularly beneficial for creating realistic graphical effects in simulations.
mangaluve
Messages
4
Reaction score
0
I'm doing some computer graphics and I'm pretty new to physics/mechanics. Right now I'm simulating a pendulum. But now I want to be able to move the pendulum to, the point to which the string is connected (for instance if I hold the pendulum between my fingers and move my hand). Now which forces are acting on the pendulum now, how can I update it's position? I'm simulating everything with a computer, so I want the movements to be arbitrary.
 
Physics news on Phys.org
mangaluve said:
I'm doing some computer graphics and I'm pretty new to physics/mechanics. Right now I'm simulating a pendulum. But now I want to be able to move the pendulum to, the point to which the string is connected (for instance if I hold the pendulum between my fingers and move my hand). Now which forces are acting on the pendulum now, how can I update it's position? I'm simulating everything with a computer, so I want the movements to be arbitrary.
Welcome to Physics Forums.

That all depends on the constraints placed on the motion of the pivot. If the pivot is contained to moved with a constant velocity, then the transformation is straight forward. If the pivot is accelerating at a constant rate, then the transformation is still fairly straightforward. If however, the pivot is allowed to accelerate arbitrarily then things could become a little more involved.
 
Thanks! Well actually I want to be able to move the pivot around with the mouse..any hints?
 
You might want to look into the Lagrangian formalism. It makes these sorts of things a lot easier, and it is especially apt to producing good things for computer simulations.

Using it requires some calculus, but that should be expected.
 
Thanks, any good links? Calculus is no problem...
Actually I don't need to get too much and deep information, this is just something I do for fun as a graphical effect
 
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top