Signal Latency Calculator banner

Signal Latency Calculator

3 devlogs
1h 44m 53s

A calculator to predict the amount of latency it takes for a signal to reach a destination or distance. Can calculate 1 way and round trip latency, as well as a timer for if you want a signal to reach at a specific time. Has a few in-built presets…

A calculator to predict the amount of latency it takes for a signal to reach a destination or distance. Can calculate 1 way and round trip latency, as well as a timer for if you want a signal to reach at a specific time. Has a few in-built presets, like the Moon or Voyager 1.
Background Credit: https://science.nasa.gov/mission/webb/multimedia/images/#2025-Images

Demo:

Overview: By inputting the distance (either preset or custom), the time it takes to process the command on the device in space, and (optional) the time you want the signal to reach at, you will receive the following:

Not entering a time gives an error.
The calculator uses the speed of light in km per second. It is the speed of light because all electromagnetic waves (including radio waves) travel at this speed.
There are some inconsistencies with the upload times for the index.html and the other stuff, thats because I was rushing to ship the project as its the end of flavortown.

This project uses AI

Gemini for the idea and for debugging.

Demo Repository

Loading README...

RealYoCelestial

Shipped this project!

I built a signal latency calculator that tells you how long it takes for your signal to reach a device in space at a certain distance and come back. I struggled with keeping my code clean and I had to deal with CSS class and ID conflicting with each other. I’m proud of the styling.

RealYoCelestial

Finished the styling! I think it looks really cool :D I also added a cool animation for all the latency calculations, look at the demo to see! As of right now the desired execution time gives an error if you dont put anything :P

Attachment
0
RealYoCelestial

Fixed some bugs with the HTML structure and the javascript naming stuff. I also finished the script that does everything.

Attachment
0
RealYoCelestial

I worked on the frontend and started the script work. (i dont have a lot of time because today is the last day ofc so i hope you forgive my short devlogs) no style has been added too.

Attachment
0