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.


Before answering, please see our policy on resource recommendation questions. Please write substantial answers that detail the style, content, and prerequisites of the book, paper or other resource. Explain the nature of the resource so that readers can decide which one is best suited for them rather than relying on the opinions of others. Answers containing only a reference to a book or paper will be removed!

  • $\begingroup$ Check out the Blender site on StackExchange: Blender $\endgroup$ – OneMug Jul 14 at 19:18
  • $\begingroup$ Welcome to the exciting world of simulations. Any programming environment can be used for simulations (I did my first ones in programmable Casio calculator). It is the visualization part that is more difficult. So I assume your question more specifically is "What tools can I use to visualize simulations?". Please clarify your question. $\endgroup$ – ja72 Jul 14 at 19:43
  • $\begingroup$ Yes, I am wondering what tools can I use to visualize simulations? $\endgroup$ – Frank Schroer IV Jul 19 at 23:04
  • $\begingroup$ Check this out for some simulations - phet.colorado.edu/en/simulations $\endgroup$ – user193922 Jul 24 at 9:32
  • $\begingroup$ Both Mathematica and Matlab have graphics so what are you asking for? How to do the same in C++? $\endgroup$ – ggcg Aug 8 at 19:38

One of the best environments for building physics simulations was Adobe Flash (now becoming unsupported by most browsers). Take a look at the following pages:

1 - Astronomy Simulations and Animations

2 - Flash Animations for Physics

You'll find lots and lots of these out there. As a resource for building your projects, take a look at this pdf:

3 - Physics-based animation


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.