Recent content by iox
-
I
C/C++ Simulating a Pendulum in C++: Seeking Assistance
Thanks, I will try to play a little around that.- iox
- Post #7
- Forum: Programming and Computer Science
-
I
C/C++ Simulating a Pendulum in C++: Seeking Assistance
What are the limitation of my simple method ? Why is it not working in this case ? or In what cases it is not working ? Because I have another example of a particle subjected to a centripetal force with an initial velocity. The trajectory is theoretically a circle and I have a spiral. I will try...- iox
- Post #5
- Forum: Programming and Computer Science
-
I
C/C++ Simulating a Pendulum in C++: Seeking Assistance
No I mean my pendulum is composed of 2 programming objects, a stick and a circle, and I am doing the calculation on the circle (on which I apply the forces and compute the new coordinates), and the circle is falling on my screen (y coordinate increases too fast). The swing movement seems to stay...- iox
- Post #3
- Forum: Programming and Computer Science
-
I
C/C++ Simulating a Pendulum in C++: Seeking Assistance
Hi all, I'm having some problems trying to simulate a pendulum in C++. I am using x,y coordinates (and not angular coordinates, velocity...) to use the same method than all other dynamics in my program which are: - Compute sum of all forces - a = sum(F) - v += a - position += v For the...- iox
- Thread
- Assistance Pendulum
- Replies: 6
- Forum: Programming and Computer Science