Inspiration

I looked up what astronomical disasters there are, and astroid collisions came up. So this gave me the idea of making an application to predict when an astroid will hit Earth. Since I don't have the actual equipment to detect astroid and stuff, I made fields for professionals to predict the time until impact.

What it does

This application is VERY simple to use. You enter the values in the fields provided: Asteroid size in meters and the asteroid speed in kilometres per second. This could be helpful to people/professionals who have the equipments to measure their size and current speed, and they want to know when it might hit Earth. I know this also depend greatly on their angle, but just to simply this we assume it going in an angle that would collide with Earth.

How we built it

I built this web application use HTML, CSS and JavaScript.

Challenges we ran into

A challenge I ran into is embedding "timeToImpact" into the display while rounding to 2 decimal places. I had to Google how to do this because I never done it before. Another challenge was not really technical, but I found it hard to find background images that fit nicely onto my webpage, most of them are too blurry when the window is maximized since I used cover for background size. I eventually found a decent background to use.

Accomplishments that we're proud of

I am proud that I successfully made a neat looking web application that could potentially be useful to people.

What we learned

I learned several things from this project. First, I refreshed my knowledge on HTML forms and CSS styling of forms. Next I learned how to embed variables in quotes and how to use the rounding function in JS.

What's next for Asteroid Impact Predictor

Next steps would be adding more factors for impact time, such as angle that the astroid is travelling in et cetera. I could also make a mobile version and alert users if an astroid is close to hitting Earth without burning up.

Built With

Share this project:

Updates