C - graphics library for physical models

Click For Summary
SUMMARY

The discussion centers on developing a program in C to visualize the 3-body problem using a graphics library. The user seeks a simple solution for animating the movement of three bodies on the screen without requiring a graphical user interface (GUI). The recommended resource is the GLES2Phys library, which is a cross-platform C++ library suitable for creating graphical applications. This library allows for manual parameter adjustments through a console interface, aligning with the user's requirements.

PREREQUISITES
  • Understanding of the 3-body problem in physics
  • Proficiency in C programming language
  • Familiarity with Linux operating system
  • Basic knowledge of graphics programming concepts
NEXT STEPS
  • Explore the GLES2Phys library documentation for implementation details
  • Research C graphics libraries suitable for physics simulations
  • Learn about numerical methods for solving the 3-body problem
  • Investigate console-based user input handling in C
USEFUL FOR

Students, physicists, and developers interested in simulating physical models and visualizing complex systems using C programming.

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!
 
Technology news on Phys.org
Last edited by a moderator:

Similar threads

Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K