Variation on Pendulum Function

Click For Summary

Discussion Overview

The discussion revolves around creating a function to animate a chain necklace, specifically focusing on simulating its swinging motion as it would behave in real life. The conversation includes aspects of computer programming, physics simulation, and the challenges of modeling gravitational effects based on accelerometer data.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Brandon seeks a function to animate a necklace with specific constraints, including the need for it to swing from two top links and fall straight down when inverted.
  • Some participants question the meaning of "function that will animate" and suggest that it may involve programming, asking for clarification and diagrams.
  • There is uncertainty about whether gravitational acceleration changes over time based on the accelerometer data.
  • One participant suggests that the problem may require a general 2D Newtonian physics simulator rather than a simple pendulum model.
  • Brandon expresses difficulty in getting the links to gravitate towards the medallion during motion.
  • Another participant offers to help but requests more information about the project and the specific mechanics of the links.
  • Brandon describes the links as being connected by invisible strings and expresses a desire for them to rotate realistically.
  • There is mention of incorporating rigid body dynamics, including torques and angular velocities, to achieve a more accurate simulation.
  • Brandon reveals that the project is a novelty iPhone app and expresses willingness to credit contributors upon completion.

Areas of Agreement / Disagreement

The discussion contains multiple competing views regarding the best approach to model the necklace's motion, and participants have not reached a consensus on the specific implementation details or the physics involved.

Contextual Notes

Participants have noted limitations in understanding the code provided, and there is ambiguity regarding the definitions of certain variables and the overall mechanics of the necklace simulation.

Who May Find This Useful

This discussion may be useful for developers interested in physics simulations, particularly those working on projects involving animated objects and real-time motion based on user interactions.

  • #31
Maybe this will help: http://mathforum.org/library/drmath/view/53706.html"

It derives an equation for the parameters of a catenary formed by a chain hanging from two point at different heights, which is what you get when you tilt your phone. Unfortunately, it doesn't have a closed-form solution, but must be solved iteratively - again, demanding on the processor, but perhaps not too bad if you don't need a truly accurate answer.
 
Last edited by a moderator:
Physics news on Phys.org
  • #32
Glad I found this thread, even if it's gone a little bit cold...

I'm curious if you ever got it to work. I'm thinking of making a chain-nose game, like the old cardboard ones from the 40s. You know, where you make the chain form all different sorts of nose shapes on a painted face?

This would be a simple caternary problem were it not for the friction against the board, and the possibility of shaking the whole thing and producing a wild and bumpy chain-path.

Anyway, I'd be interested to learn if and how you ever solved this problem?

Thanks.

Alyosha.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
33K
  • · Replies 52 ·
2
Replies
52
Views
8K
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 34 ·
2
Replies
34
Views
6K