thkruz / keeptrack.space

πŸŒŽπŸ“‘ TypeScript Astrodynamics Software for Non-Engineers. 3D Visualization of satellite data and the sensors that track them.

Home Page:http://keeptrack.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub release (latest by date) Sonar Coverage GitHub commit activity language Languages GitHub issues code style: prettier License KeepTrack.Space

Table of Contents

Project Overview

Welcome to KeepTrack, an ambitious project aiming to make orbital analysis tools accessible to all. Keep Track is the only astrodynamics tool designed for non-engineers. It provides a simplified and streamlined experience for learning and interacting with satellites and space debris. Keep Track is built from the ground up with custom WebGL shaders and a high-performance render loop. It can simulate 2.5 million pieces of debris at 60fps. The core app is only 7 Mb and loads in 2 seconds. It's free, open source, and works on any modern browser.

Who is KeepTrack for?

Keep Track is used in operations centers, classrooms, and outreach programs. Here are some examples of how different groups use Keep Track:

Operations Centers

  • Get popup alerts when a satellite will pass through a sensor
  • Find when sensors can see a priority satellite in seconds
  • Easily simulate new launches for mission planning

Education

  • Learn through hands-on interaction, making learning engaging
  • Use Xbox controllers for classroom demonstrations
  • Experience AAA video game quality graphics

Outreach

  • Embed Keep Track on your website for free
  • Show your satellite design in orbit before launch
  • Explain space sustainability and the problem of debris

Features

The feature set rivals those of expensive toolkits, such as AGI's STK, and includes the ability to:

  • View comprehensive satellite data
  • Perform advanced field of view calculations
  • Create notional maneuvers
  • Model satellite breakups
  • Simulate new satellite launches
  • And much more

Screenshots

Installation

A github page is automatically deployed with the most-current version of the main branch to https://thkruz.github.io/keeptrack.space/. Periodically the most stable version will be pushed to https://keeptrack.space from the CI/CD pipeline.

Prerequisites

KeepTrack.Space is built using ES6+ modules and assembled with Webpack. If you would like to build it locally, you need to install git and npm.

Setting up a Local Copy

git clone https://github.com/thkruz/keeptrack.space       #Clone the github files.
cd ./keeptrack.space/                                     #Switch into the directory.
npm i                                                     #Install the dependencies.
npm run build                                             #Build the project.
npm start                                                 #Start the server.

Launching Offline Mode

KeepTrack was designed to run without the need for a server. On Windows, close all open copies of chrome and then launch the included KeepTrack.bat file. This will launch the index.html file inside of chrome with the "--allow-file-access-from-files" flag temporarily enabled. This is necessary to allow loading the catalog .json files from your computer.

NOTE: You MUST compile the code first. Opening the index.html file in the src folder will not work. If that feels overwhelming, take a look at https://github.com/thkruz/keeptrack.space/tree/gh-pages for a built version that can be downloaded and launched without the need to build it.

Usage

The main index.html page loads a canvas element set to the size of the window that displays the earth, satellites, and stars. The UI is loaded in DOM elements on top of the canvas element. Two webworkers are loaded (positionCruncher.ts and orbitCruncher.ts) to handle constant calculation of satellite locations and updating orbit lines when an object is highlighted.

The main draw loop (drawManager.ts) has been optimized to reduce memory leaks and to keep FPS high. This is commonly done by having functions modify global variables vs returning a variable and using long functions rather than splitting them into pieces - this is definitely intentional.

Any modifications to a satellite require that information to be passed to the positionCruncher webworker to ensure the UI calculations match the dot on the screen. Most calculations utilize a brute-force method of guess and check (lookangle times, missile trajectories, etc). Optimizing the loop for those calculations is critcal to keeping the project responsive. One trick to improve performance is that satSet creates a dictionary of index -> Norad ID number and index -> COSPAR number to allow rapid lookup of satellite data.

There are Typescript files for generating TLE.json that are not included, but http://keeptrack.space/tle/TLE2.json can be referenced for an up-to-date catalog.

Previous Versions

Contributors

License

Copyright (C) 2016-2023 Theodore Kruczek
Copyright (C) 2020-2023 Heather Kruczek

KeepTrack.Space is licensed under the GNU Affero General Public License. This means you can freely use, modify, and distribute it, provided you adhere to the terms of the license. For more details, see the Full License.

About

πŸŒŽπŸ“‘ TypeScript Astrodynamics Software for Non-Engineers. 3D Visualization of satellite data and the sensors that track them.

http://keeptrack.space

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 85.8%Language:CSS 12.4%Language:JavaScript 1.3%Language:HTML 0.4%Language:Shell 0.0%Language:Handlebars 0.0%Language:Batchfile 0.0%