Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/celestiary/web
Astronomical simulator of solar system and local stars
https://github.com/celestiary/web
3d astronomy astrophysical-simulation glsl glsl-shaders javascript three-js virtual-reality webgl webgl2
Last synced: 2 months ago
JSON representation
Astronomical simulator of solar system and local stars
- Host: GitHub
- URL: https://github.com/celestiary/web
- Owner: celestiary
- Created: 2015-09-03T22:29:07.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T23:53:26.000Z (8 months ago)
- Last Synced: 2024-09-29T05:22:32.649Z (2 months ago)
- Topics: 3d, astronomy, astrophysical-simulation, glsl, glsl-shaders, javascript, three-js, virtual-reality, webgl, webgl2
- Language: JavaScript
- Homepage: https://celestiary.github.io/
- Size: 74.6 MB
- Stars: 44
- Watchers: 3
- Forks: 3
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- vr-resources - celestiary, Astronomical simulator web app
README
# Celestiary
A celestial simulator inspired by Celestia
(http://shatters.net/celestia), written in JS/three.js/GLSL.A running instance of Celestiary is available at:
https://celestiary.github.io/
## Features
- 9 planets, 20 moons. Accurate major planet orbits
- 106,747 stars, 5,672 names
- 89 constellations
- Time controls for rate and direction of time
- Kinda works on mobile! :)See [open issues](https://github.com/celestiary/celestiary/issues) page for upcoming features.
## Development
```
yarn install
yarn test
yarn serve
# Visit http://localhost:8080/
```Edits in the source directory will be available in the app on a page refresh.
For larger changes, it's also a good idea to step through the guide pages (in /guide) to make sure they'll all working.
## Deploy
The app runs at https://celestiary.github.io/ and is in the celestiary.github.io repo. From it grab the changes from the web repo and then push them:```
git pull upstream master
git push
```## Performance
A first-time session downloads ~3-5MB, mostly of the stars data. Planet textures are lazy-fetched as the user moves around the scene, but will bring that upwards to ~10MB in full.Everything is highly cacheable, so subsequent visits are brief HEAD checks on root resources.
Warm load on a local server is 260B in ~300ms (mostly cache checking). Page rendering finishes by 1s.