Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artix41/spiral_creator
Create your own spiral galaxy (with the density wave model) and compare it with real galaxies
https://github.com/artix41/spiral_creator
astrophysics d3js galaxy javascript plotlyjs
Last synced: 7 days ago
JSON representation
Create your own spiral galaxy (with the density wave model) and compare it with real galaxies
- Host: GitHub
- URL: https://github.com/artix41/spiral_creator
- Owner: artix41
- License: mit
- Created: 2017-03-04T23:44:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T14:57:32.000Z (over 7 years ago)
- Last Synced: 2024-11-16T10:13:55.101Z (2 months ago)
- Topics: astrophysics, d3js, galaxy, javascript, plotlyjs
- Language: JavaScript
- Size: 10.5 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spiral Creator
Create your own spiral galaxy (with the density wave model) and compare it with real galaxies## How to run it?
You need to have nodejs and npm installed on your computer. On a debian/ubuntu computer, you can install them with:
```bash
sudo apt-get install nodejs npm
```Then, run the following commands in the root folder :
```bash
npm install
npm test
npm run serve
```The site will be accessible at http://127.0.0.1:8080
## How to develop it?
This application uses ES2016 version of Javascript, so you need to compile it in order to see it on a web browser.
In order to develop without worrying about compilation, just execute:
```bash
npm run watch
```
and it will watch for any change in the code and compile it in real time.