You are browsing as a guest. Sign up (or log in) to start making projects!

3h 27m 58s logged

ISS Tracker 

New app, tracks the ISS live using wheretheiss.at (no key needed, CORS-open, genuinely such a nice API to work with). 

  • Polls every 5 seconds for lat/lon/altitude/velocity

  • Keeping the last 20 fixes so there’s a fading trail behind the current position instead of just a dot that teleports every update

  • Drew my own little world map for this since I didn’t want to deal with map tile assets, just lat/lon gridlines every 30°, equator and prime meridian slightly brighter.

  • I reused the geolocation I already grab on boot for the sky map, so this app also shows your distance from the ISS via a haversineKm() calc, and flags when it’s within ~2000km with a little “nearby!” tag. Not a proper overhead check (that’d need elevation angle above your horizon) but good enough for now

  • Added a stopIssTracker() call on window close so the polling interval actually dies instead of running forever in the background, learnt that lesson the hard way after leaving a tab open for way too long testing this

At the time of writing this I had just the idea to implement a trail that shows the future path, will do this now lol.

0
1

Comments 0

No comments yet. Be the first!