Skip to content

ItsMeBrianD/spaceapps2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprocket Orbital Tracker


This repository was created by Brian Donald, Bryan Pikaard, Zach Stence, and Andreas Wenzel for SpaceApps 2021.

The Orbital Tracker uses TLE data to calculate and interpolate the position of objects orbiting earth, and then renders them in a web page that makes the data more accessible and interactive. You can view a live link at https://2021.spaceapps.sprocket.gg.

Project Structure

┌─ svelte            | the SvelteKit portion of the application
├┬─ src              | 
│├─ lib              | client-side code
│├┬─ components      | reusable .svelte components
││├─ state           | stores used for state management
││├─ utils           | misc. functionality (i.e. date/time helper functions)
││└─ wasm            | output from emscripten used to interact with wasm
│└─ routes           | top-level page components and api endpoints
└─ static            | Static Assets

┌ wasm               | the C++ portion of the application
├─ src               | all C++ Source code
└─ js_wraps          | snippets of javascript that are pre/post-pended to the emscripten output

Building and Running Locally

  1. Clone the repository
  2. To run the SvelteKit application
    1. npm i in the svelte directory
    2. npm run dev in the svelte directory
    3. Open localhost:3000
  3. To run/build the C++ application
    Note: The build script for wasm assumes that you are on a unix-like system, with access to sed
    1. Ensure you have the EMScripten SDK installed (if working with the C++ portion)
    2. Run build.sh in the wasm directory.