Something went wrong. Try again.
svelte astro
Something went wrong. Try again.
Svelte 64%
TypeScript 33%
Nix 1%
CSS <1%
HTML <1%
JavaScript <1%
Shell <1%
README.md
COSMO #
COSMO is a tool for exploring astronomical data from the Gaia catalog.
You can try COSMO live at https://tedius.tngl.sh/cosmo/
Features #
- Local/VizieR data: load your own local CSV file, or a TSV file exported from VizieR.
- Table view: browse the raw data in a table format.
- 2D plot: plot any two columns against each other with fully free axis selection.
- 3D scatter plot: plot any three columns against each other with free axis selection.
- 3D slice tool: move and resize a slice through the 3D scatter to inspect a specific slab of the data.
Tech Stack #
Local development #
Bun installed on your machine
Note
if you're using nix we have a flake.nix with a devShell with bun
bun install # install dev packages
bun run dev # dev server for instant changes preview
bun run build # compile the project to dist/
Roadmap #
Known Bugs #
- Some local files generate empty tables
- Zoom in the 2D plot sometimes goes to infinite zoom on a star
- Hover and clicked star colors in the table are applied to the star with index +1
License #
This project is open-source software, licensed under the GNU General Public License v3.0 (GPL-3.0).
This means you are free to use, study, modify, and redistribute this code, provided that any derivative work you distribute is also licensed under the GPL-3.0 and its source code is made available. This copyleft requirement ensures that the software — and any modifications or projects built upon it remains free and open for the community.
See the LICENSE file for the license.