C - graphics library for physical models

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
irycio
Messages
96
Reaction score
1
Hello everyone, haven't been here in a while.
My tutor asked me wether I wouldn't be interested in writing a smal program to illustrate one particular case of 3-body problem. I definitely would be, it's just that I've never written any application displaying anything. Numerical calculations shouldn't be a problem, I just need a way to move my 3 bodies around the screen. Since I write in C (Linux), a simple library for that environment would be extremely helpful. Although the possibility of manually changing some parameters of the system (total energy, postions, whatever ;)) is expected, GUI is not necessary - typing them in a console window and than just watch the animated evolution of the system would be just fine.

Anyway, thanks in advance for your help!
 
Physics news on Phys.org