Skip to content

From my accelerated object-oriented design concepts class.

Notifications You must be signed in to change notification settings

ngolp/simple-particle-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

simpleParticleSimulator

Getting Started

  1. Download the files from the simpleParticleSimulator folder

  2. HeapTester.java includes a unit test for the heap implementation using JUNIT JUPITER, which is included in the /lib folder.

  3. Compile the file ParticleSimulator.java with the following command:

    javac ParticleSimulator.java

  4. Run the particle simulator using the following command:

    java ParticleSimulator particlesInitial.txt

  5. It is imperative to run ParticleSimulator.java with the argument particlesInitial.txt because this text file contains information regarding the time duration of the simulation, the particles' starting position, and the particles' initial x-velocities and y-velocities.

Images

  1. The particlesInitial.txt file should contain the particles' starting position and velocity information. particleList

  2. When run, a new window with the particle simulation should open. particleSimulation

  3. If run with the txt file particlesInitial.txt, the particles at the end of the simulation should form a turkey. endSimulation

Authors

  • Nicholas Golparvar
  • Charlie Engler

About

From my accelerated object-oriented design concepts class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages