Skip to content

Gaia Explorer - A space simulation of a few (7K+) objects with Spacekit. Search is powered by Algolia.

Notifications You must be signed in to change notification settings

pierre-aurele-martin/gaia-explorer

Repository files navigation

Gaia Explorer

Project live - hosted on Github Pages

Thanks to:

Material-ui Spacekit (check it out!) Algolia React InstantSearch

Data

The data used in the demo are a ridiculously tiny part of Gaia Early Data Release 3. Science with 1 billion objects in three dimensions. I only represented 7000+ objects.

The representation of space objects are mostly inaccurate as I'm no physicist. If you'd like to help me get it straight, just reach out

You can find the sample I used in the /public/data folder.

Spacekit

I'm using Spacekit for the space rendering. I had to tweak it so all orbits are ELLIPTICAL as I was not able to render the other types. Same for the data with has_photocenter_motion === NULL, I had to filter them because they were all without any orbit. Might be the point of this key, might be not. Again, any help to understand is welcome Twitter or Pull Request :)

You can find the data mapping between Gaia data and Spacekit in /hooks/useSpacekit.ts

Run

You'll need to configure those keys in a .env file:

  • NEXT_PUBLIC_ALGOLIA_APP_ID=
  • NEXT_PUBLIC_ALGOLIA_INDEX_NAME=
  • NEXT_PUBLIC_ALGOLIA_PUBLIC_KEY=
  • ALGOLIA_PRIVATE_KEY=

To deploy on Github Pages:

npm run deploy

To buid locally:

npm run dev

I'm using Nextjs, check out the repo for more options, it offer a lot of deployment options :)

To parse local data and indexing to Algolia - it's very basic and was meant for my own use: node parser.js

About

Gaia Explorer - A space simulation of a few (7K+) objects with Spacekit. Search is powered by Algolia.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published