How do I use C to physics simulations? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I use C to physics simulations?

I need simulate particles on C, my particles are setted on a Box, so every has a random position, they move by the time until balance condition. Somebody may explain how I use the C programming resoucers to this?

17th Jan 2019, 2:10 PM
Isaac Muniz
Isaac Muniz - avatar
1 Answer
+ 1
Your question is for me way imprecise. What is the balance condition in your case? Etc. etc. If you're looking for Brownian motion simulation in an n-dimension space (here 3D I assume) if I remember well there is an open source library in C/C++. So it's a good starting point. If it's a quickie I'd look for tutorials on online schools and even on YT.
17th Jan 2019, 9:58 PM
Skipper
Skipper - avatar