Skip to content

shubhvachher/forcesimulation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Forcesimulation

EandG : Each factor decides the strength of a force fg is the factor for Gravity fe is the factor for Electrostatic force num is the number of particles damp is a factor that damps particles, which are closer than a critical radius. It reduces the relative velocity of those particles, along the line joining the particles debug is a boolean that creates only two particles orbiting around each other

Gravity : Code that impliments gravitational interaction between non-charged particles. factor corrosponds to the 'strenght' of the gravitational pull. num refers to the number of interacting particles. Pygame is used to simulate display in real time. Clumping of masses is implimented if the masses come closer than a specified distance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%