Where Can I Learn More About Physics Graphics Simulations?

Click For Summary

Discussion Overview

The discussion centers around resources and methods for learning about physics graphics simulations, particularly in the context of programming and modeling physical phenomena such as gravity, pendulums, and waves. Participants share various tools, frameworks, and approaches to enhance understanding and skills in this area.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant expresses interest in modeling physics through graphics simulations and seeks resources for further learning, mentioning familiarity with Python, C++, Mathematica, and MATLAB.
  • Another participant suggests that learning by doing is effective and recommends searching for methods to solve Ordinary Differential Equations (ODEs) and exploring Hamiltonian Mechanics, which is fundamental to many simulations.
  • A third participant mentions the Open Source Physics website, which offers a collection of Java-based simulations using the OSP framework, along with a related book that illustrates their application.
  • Another participant shares a blog with links to various resources, including a gravity simulator with OpenGL graphics and a molecular dynamics project, noting that some projects require C++ for implementation.

Areas of Agreement / Disagreement

Participants generally agree on the importance of hands-on learning and the utility of various resources, but there are multiple approaches and tools suggested, indicating a lack of consensus on the best methods or resources.

Contextual Notes

Some limitations include the dependence on specific programming languages and frameworks, as well as the varying levels of complexity in the suggested projects, which may not be suitable for all learners.

Who May Find This Useful

Individuals interested in physics simulations, programming in Python or C++, and those looking to enhance their understanding of modeling physical systems through graphics.

Frank Schroer
Messages
7
Reaction score
0
TL;DR
Physics Graphics Simulation
Summary: Physics Graphics Simulation

I am interested in modeling physics using graphics simulations. I took a python course with CS majors and one of the assignments was to simulate a planet orbiting a star. That being said, I was wondering if anyone knew of any good resources that I could learn how to do more of these type of programs. For example, gravity simulations, pendulum, waves, etc. I am familiar with python, c++, mathematica, matlab.
 
Technology news on Phys.org
IMO learning by doing is the best way to approach this, so I'll give you some search terms.

Most of these things involve systems of Ordinary Differential Equations (ODEs). Search for methods of solving them. Another related area is Hamiltonian Mechanics (also an ODE formulation), which is at the root of a lot of simulations (but it is quite "fundamental" and does not model bulk effects such as friction, air resistance). Chaotic systems are fairly interesting too.

There is a lot to learn, so I would suggest maybe going back to your orbiting planet and do it again using the Hamiltonian. While you are researching and doing this you will probably stumble across enough to keep you going for ever (especially if you get into Partial Differential Equations)!

[EDIT] Just a thought, Scilab has a few things that might be useful, wrapped up in a sort of IDE.
 
Last edited:
  • Like
Likes   Reactions: Frank Schroer and jedishrfu
There’s the Open Source Physics website that has an extensive collection of java based simulations that use the osp java framework. There’s also a book based on the osp framework showing how they are used in different scenarios.

Www.compadre.org/osp
 
  • Like
Likes   Reactions: Swamp Thing, Frank Schroer and m4r35n357
My blog has links to some resources: https://compphys.go.ro I have even a 'gravity simulator' with OpenGL graphics. There is also a molecular dynamics project with an 'event driven' simulation. The Lattice Boltzmann one could be also implemented for 3D (you would need cuda or OpenCL to do the calculations if you need 'real time'), what I have there is 2D only. One that is also with nice graphics is the ray tracing project which is basically geometrical optics. The associated projects are here: https://github.com/aromanro?tab=repositories The downsize is that the projects are implemented in C++.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
5K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
13
Views
3K