8000 GitHub - zhrfrd/ParticleLife: A simple life simulation using particles repulsion and attraction forces
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhrfrd/ParticleLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ParticleLife

ParticleLife is my revisitation in Java of Particle Life Simulation by Hunar Ahmad.

TODO

  • SimulationPanel and ControlsPanel both have the setSimulation(simulation) method. Refactor code in order to have only 1 method declaration somewhere. Maybe create a superclass for the panels.
  • Assign the correct access modifier to class fields.
  • Create getter and setter methods rather than accessing class fields directly.
  • Delete unused ActionListener from ControlsPanel or SimulationPanel.
  • Improve JPanel layouts.
  • Create a proper "game loop" to run the simulation.
  • Improve input handling.
  • Improve particles movement precision.
  • Fix particles exiting the panel border.
  • Find better way to update JFrame title without having to hard-code the title string in the game-loop.

About

A simple life simulation using particles repulsion and attraction forces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0