{"id":20627029,"url":"https://github.com/schneedotdev/nasa-asteroid-observation-tool","last_synced_at":"2025-10-24T09:49:46.518Z","repository":{"id":108533485,"uuid":"479883172","full_name":"schneedotdev/NASA-Asteroid-Observation-Tool","owner":"schneedotdev","description":"Using NASA's Asteroid NeoWs API, this app allows you to observe an archive of asteroids that have been within a close proximity of earth","archived":false,"fork":false,"pushed_at":"2022-06-02T20:07:11.000Z","size":9296,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T09:49:46.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://asteroid-observer.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schneedotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-10T01:22:13.000Z","updated_at":"2022-05-18T00:42:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb575396-cf4e-41fd-83ab-2a3bcc237373","html_url":"https://github.com/schneedotdev/NASA-Asteroid-Observation-Tool","commit_stats":null,"previous_names":["schneedotdev/nasa-asteroid-observation-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schneedotdev/NASA-Asteroid-Observation-Tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schneedotdev%2FNASA-Asteroid-Observation-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schneedotdev%2FNASA-Asteroid-Observation-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schneedotdev%2FNASA-Asteroid-Observation-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schneedotdev%2FNASA-Asteroid-Observation-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schneedotdev","download_url":"https://codeload.github.com/schneedotdev/NASA-Asteroid-Observation-Tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schneedotdev%2FNASA-Asteroid-Observation-Tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280776485,"owners_count":26388950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T13:15:32.937Z","updated_at":"2025-10-24T09:49:46.484Z","avatar_url":"https://github.com/schneedotdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eNASA Asteroid Observation Tool\u003c/h1\u003e\n  \u003cp\u003eUsing NASA's Asteroid NeoWs API, this app allows you to observe an archive of asteroids that have been within a close proximity of earth.\u003c/p\u003e\n  \u003cp\u003e\u003cb\u003eLive Website:\u003c/b\u003e https://asteroid-observer.netlify.app\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/77141303/168932147-5aa35725-9b12-4277-8394-4d9917e3eaa3.gif\"\u003e\n\u003c/div\u003e\n\n\n## How It's Made:\n\n**Tech used:** HTML, CSS, JavaScript\n\nUsing the Fetch API, I was able to request data from NASA's NeoWs API. Once the response is received, I populate the DOM with elements representing each of NASA's documented asteroids. I use an image of an asteroid to represent each object that was received from NASA. Each asteroid has a hover state that displays the asteroid flying across the screen and a click event which brings up information about the asteroid. Lastly, each asteroid is given a random location, size and trajectory/slope to follow. The image used is then rotated based on the angle produced by the tangent line given by the slope, and the x axis. \n\n## Future Optimizations:\n\n\u003cul\u003e\n  \u003cli\u003eUsing netlify, store token secret from user and consume it on page load.\u003c/li\u003e\n\u003c/ul\u003e\n\n## Lessons Learned:\n\nBy using math and css transformations, I am able to simmulate the path of an asteroid across a browser window.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschneedotdev%2Fnasa-asteroid-observation-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschneedotdev%2Fnasa-asteroid-observation-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschneedotdev%2Fnasa-asteroid-observation-tool/lists"}