From: Brendan Hansen Date: Thu, 12 Nov 2020 03:15:11 +0000 (-0600) Subject: added plan for config files X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=0c65dc6c878ec866ac7994cf802cd2f0e0aa7cf7;p=csc718.git added plan for config files --- diff --git a/doc/settings b/doc/settings new file mode 100644 index 0000000..faa07d3 --- /dev/null +++ b/doc/settings @@ -0,0 +1,21 @@ +List of configurable setting in the simulation: + - Number of body types + - Body type colors + - Interactions between body types + - Friction value + - Near repulsive force + - Universe scale (used in relation to forces) + - Number of threads + +Config file will look like: + +body_type_count 4 +body_color 0 1.0 0.0 0.0 1.0 +... +interaction +interaction 1 2 100.0 20.0 +... +interaction_scale 20.0 +friction 6.0 +near_force 100.0 +threads 2