A Simple Partical Based Model Simulator

By Xige Yang

You can set paramater of number of particles, movoment velocity and the parameter of force field function. In this simulator, the positions are calculated recurrently by the following rule:

P -> Position, F -> Force, V -> Vector, D -> Distance, Pi(resp. Vi) -> i-th argument of P(resp. V)

N-body Equation

You can see the particles gathering to a circle formation. It is because all particles attract each other to the distance of d value, however, particles nearer than d value are distracted.

Number of Points

v : Moving Velocity

d : Best Distance