How do I use C to physics simulations? | Sololearn: Learn to code for FREE!


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?


1/17/2019 2:10:42 PM

Isaac Muniz

1 Answer

New Answer


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.