Recent content by Wer900
-
W
Python Help designing an n-body gravity simulator in Python
Thanks for the link. I think I tried this before, but maybe reversed the order in which I set velocity and acceleration (causing eventual drifting outward of the system). Yes, I understand, but I sometimes saw bodies (representing the majority of the mass of the overall system) propelled...- Wer900
- Post #5
- Forum: Programming and Computer Science
-
W
Python Help designing an n-body gravity simulator in Python
Hi everyone: I wanted to design a 2-dimensional gravity simulator as part of a larger research project. I wrote it in Python using numpy to store positions, velocities, and accelerations, and matplotlib to display the trajectories; code is available upon request. In order to solve the problem...- Wer900
- Thread
- Designing Gravity Python Simulator
- Replies: 4
- Forum: Programming and Computer Science