Clean up and comment
This commit is contained in:
parent
8bb6ba19d5
commit
6822df0432
5 changed files with 249 additions and 152 deletions
|
@ -3,14 +3,11 @@
|
|||
Threw this together to get more comfortable with Numpy.
|
||||
Can simulate a few hundred bodies in 2 or 3 dimensions without much hassle.
|
||||
|
||||
Comments are non-existent, sorry about that.
|
||||
|
||||
|
||||
To set up:
|
||||
```shell
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
pip -r requirements.txt
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
To run:
|
||||
|
@ -19,7 +16,7 @@ To run:
|
|||
./main.py -f 2d/simple.csv
|
||||
|
||||
# 3d simulation, increased gravity
|
||||
./main.py -f 3d/some.csv -d 3 -g 30
|
||||
./main.py -f 3d/some.csv -g 30
|
||||
```
|
||||
|
||||
To create a new start state:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue