Skip to content

Commit 3618c7a

Browse files
Create README.md
1 parent 741496d commit 3618c7a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

examples/GalaxyDemo/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Rotating Disk Galaxy Demo
2+
3+
This example generates a **rotating disk galaxy** with 20 000 particles.
4+
The disk has a radius of `0.5`, a vertical thickness of `0.2`, and a total mass of `1.0`.
5+
6+
Disk setups like this are useful for testing **galaxy stability**, **rotation curves**, and **flattened mass distributions**.
7+
8+
### Running this example from this directory
9+
10+
```bash
11+
python galaxy.py
12+
../../next galaxy.txt 0.01 5
13+
```

0 commit comments

Comments
 (0)