C - graphics library for physical models

1 reply · 3K views · last reply
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!