Skip to content
Snippets Groups Projects
Commit fffae2c5 authored by Johannes Lukas Bartunek's avatar Johannes Lukas Bartunek
Browse files

Update stargazer/README.md, nbody/README.md

parent 93a603ff
No related branches found
No related tags found
No related merge requests found
......@@ -14,3 +14,5 @@ Execute with:
./sim [number of steps] [delta T]
```
All of the locations will be printed to a file named output, as of right now the recording intervall has to be set in the source code.
This program is able to calculate about 300 Million Steps of the solarsystem (Sun + 8 Planets) in about 90 seconds on an Intel i5-10300H.
......@@ -15,20 +15,35 @@ make
./stargazer <name-to-logfile>
```
You can find samples in the `/samples`directory.
You can find samples in the `/samples` directory.
# Controls
`SPACE` Pause/ Unpause
`.` Speed up time
`,` Slow/ Reverse time
`c` Toggle trajectory trace
`n` Shorter trace
`m` Longer trace
`n/ m` Shorter/ Longer trace
`k/ l` Scale the scene
`o/ p` Scale the size of the objects
`right/ left arrows` Increase/ Decrease movement speed
Use the mouse/ touchpad to look around.
# Screenshots
![](screenshot/solar_system.png "")
![](screenshot/chaosI.png "")
![](screenshot/chaosII.png "")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment