Skip to content

abeRC/BallRN

Repository files navigation

HigherDimensionPandemic

Simulation of a pandemic in higher dimensions

jMonkeyEngine

Execution and usage

Simulate an N-dimensional pandemic with CollisionSystemRN.java, and display it with jMonkeyEngine.

java HigherDimensionalPandemic DIM PNUM

where DIM is the number of dimensions and PNUM is the number of random particles to create.

Accepted flags:

 --help          			  Print this information.
 --fullscreen                             Display in fullscreen (if settings are hidden).
 --chart          			  Draw a chart using StdDraw. 
 --space           	   		  Use a space texture for the cube. 
 --textured-balls         	          Use a lagoon texture for the balls.
 --social-distancing [DOUBLE]             Restrict movement of this fraction of particles. 
 --dump-walls         		 	  Dump wall collision information to stdout.
 --dump-events                            Dump PQ event information to stdout.

NOTE:

If ParticleN.DEFAULTRADIUS is set to large-ish values, the program will go crazy. The (set of) fix(es) needed is pretty involved.

Other licenses

This program uses jMonkeyEngine, which is released under the BSD license.

This program also uses Sedgewick & Wayne's algs4.jar library, which is released under the GNU GPLv3. You should've already received a copy of it.

Assets:

Cosmic Winter Wonderland: NASA / Public domain

Lagoon: Hazel Whorley - Licensed under CC-BY-NC

Created

as part of the final CCM0128 (Computação II) assignment in the Molecular Sciences Course (CCM-USP) by:

  • Aécio Beltrão Rodrigues Castro
  • Lia Noguchi Simões
  • Tiago Estevam Corrêa

About

Simulation of a pandemic in higher dimensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •