Skip to content

MWronski12/particle-collision-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Particles collision animation

This application simulates moving particles of different masses and radiuses in a square area. Particles can bounce off walls and each other following physics laws. It assumes that motion of the particles is linear and uniform and no external forces act on these particles.

To run the project:

  • Make sure You have java installed
  • javac -cp './lib/algs4.jar' src/*.java -d bin
  • java -cp './bin;./lib/algs4.jar' App < ./examples/diffusion.txt

DEMO:

Diffusion animation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages