projects
/
csc718.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146c14c
)
added plan for config files
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 12 Nov 2020 03:15:11 +0000
(21:15 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Thu, 12 Nov 2020 03:15:11 +0000
(21:15 -0600)
doc/settings
[new file with mode: 0644]
patch
|
blob
diff --git a/doc/settings
b/doc/settings
new file mode 100644
(file)
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 <t1> <t2> <d> <f>
+interaction 1 2 100.0 20.0
+...
+interaction_scale 20.0
+friction 6.0
+near_force 100.0
+threads 2