https://github.com/phdenzel/dm-sheets
Experimenting on the dynamics of dark matter
https://github.com/phdenzel/dm-sheets
dark-matter javascript physics simulation
Last synced: about 2 months ago
JSON representation
Experimenting on the dynamics of dark matter
- Host: GitHub
- URL: https://github.com/phdenzel/dm-sheets
- Owner: phdenzel
- License: mit
- Created: 2017-03-07T09:46:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T00:29:26.000Z (over 8 years ago)
- Last Synced: 2025-02-26T06:34:55.380Z (over 1 year ago)
- Topics: dark-matter, javascript, physics, simulation
- Language: CSS
- Homepage:
- Size: 1.06 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dark matter sheets
A simple animation of the evolution of dark matter sheets in a 1D universe.
### How to run the animation
I used `jekyll` () to pre-compile the source code.
Once installed, move into this git repository and run:
```bash
jekyll serve --watch
```
to set up local server (default is 9999).
Then open your browser (tried on Chrome and Firefox) and type http://localhost:9999/ to connect to the server.
Of course, if preferred, you can set up a local server by any other means, e.g. node.js.
### Where to find the physics
The module simulating the physics is found in `assets/js/phase-space.js`
### Website
If you don't want to go through all the trouble of creating a local server and running the javascript, just visit to watch the simulation.