Named Parameters, New Tumble Probability, Dynamic Frame Time
Pre-release
Pre-release
Command-line parameters are all named now for better extensibility later on in implementing more command-line parameters.
Corrected tumble probability calculations; new one using overall concentration gradient change rate over time according to literature.
Implemented optional dynamic frame time feature for simulation updating
Recommended run configuration (6 food sources, 5 bacteria) (if you want to avoid the random defaults):
- If you have Scala installed:
scala ./chemotaxis.jar fs=6 bs=5
- If you don't have Scala installed (the JAR's 5MB+ in size because it bundles Scala (it's a UberJAR)):
java -jar ./chemotaxis.jar fs=6 bs=5
This assumes that the downloaded release JAR is in the current directory and the scala executable is on your path.