Skip to content

Simulation of Particles Interacting with User Interaction.

Notifications You must be signed in to change notification settings

JayJaewonYoo/Particle_Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Particle-Simulation

Simulation of particles interacting with each other in real-time created using Java.

How to download:

Note you must have Java SE Runtime Environment installed which you can find here: https://www.java.com/en/download/

  • You can check if you have it installed by opening Command Prompt and typing "java -version" then pressing ENTER. If the console does not respond with "command not found", then it is installed.
  1. Download the ParticlePhysicsSimulator.jar file.
  2. Run the file using Java(TM) Platform SE binary.
  • To run the file through Command Prompt:
    1. Change directories to the file location by typing "cd FILEPATH" and press ENTER where FILEPATH is the file path to the directory where the file is stored.
    2. Type "java -jar ParticlePhysicsSimulator.jar" and press ENTER.
  1. After opening the file, click the "CLICK ME" button for more details.

If you wish to download and open the source code as a Java Project:

  • Using Eclipse IDE:
    1. Download repository as a zip file.
    2. Export the zip file.
    3. Open Eclipse.
    4. Under "File" select "Open Projects from File System...".
    5. Beside "Import Source" click the "Directory..." button and select the exported folder.
  • Using Netbeans IDE:
    1. Install Eclipse IDE.
    2. Follow instructions above to download into an Eclipse Workspace.
    3. Open Netbeans and under "File" select "Import Project" then "Eclipse Project"
    4. Select the Eclipse Workspace directory in the "Workspace Location" section of the wizard.

Feature List:

  • Particle-boundary collisions.
  • Particle-particle collisions.
  • Particle-cursor collisions.
  • Particle volume manipulation.
  • Particle size manipulation.
  • Energy loss upon collision manipulation.
  • Speed of simulation manipulation.
  • Vertical and horizontal external forces manipulation.
  • Particle color manipulation.
    • Randomly changing particle color option.
  • Background color manipulation.
  • Option to interact with particles using cursor. The following features are made available when this option is selected:
    • Cursor size manipulation.
    • Cursor color manipulation.
    • Ability to place stationary particle obstacles by left-clicking on the screen.
    • Ability to remove stationary particle obstacles by right-clicking them.
  • Option to show vectors of the particles as arrows. The following feature is made available when this option is selected:
    • Vector arrow color manipulation.
  • Ability to pause the simulation.
  • Ability to reset the settings of the simulation.

Upon opening the file, click the "CLICK ME" button for more details on these features.

About

Simulation of Particles Interacting with User Interaction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages