{"id":40859381,"url":"https://github.com/microhod/gravityjs","last_synced_at":"2026-01-22T00:06:36.633Z","repository":{"id":39237957,"uuid":"321080578","full_name":"microhod/gravityjs","owner":"microhod","description":"Simple newtonian Gravity simulator as a static website","archived":false,"fork":false,"pushed_at":"2024-03-16T09:23:21.000Z","size":4153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-16T11:04:55.589Z","etag":null,"topics":["gravity","html","javascript","simulation"],"latest_commit_sha":null,"homepage":"https://gravity.microhod.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microhod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-12-13T14:12:23.000Z","updated_at":"2024-03-16T11:04:55.590Z","dependencies_parsed_at":"2022-09-09T23:53:07.042Z","dependency_job_id":"432630f9-1cc1-414e-9482-ae6e66e6abe6","html_url":"https://github.com/microhod/gravityjs","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.5,"last_synced_commit":"24681617ace0c888f0a45b249fc405ff6dc59c50"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microhod/gravityjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microhod%2Fgravityjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microhod%2Fgravityjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microhod%2Fgravityjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microhod%2Fgravityjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microhod","download_url":"https://codeload.github.com/microhod/gravityjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microhod%2Fgravityjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28647513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gravity","html","javascript","simulation"],"created_at":"2026-01-22T00:06:35.926Z","updated_at":"2026-01-22T00:06:36.628Z","avatar_url":"https://github.com/microhod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GravityJS\n\nSimple newtonian Gravity simulator as a static website, using a [html canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) and [the Newtonian Gravitation equation](https://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gravitation).\n\n## Use\n\nGo to http://gravity.microhod.com\n\n## Run\n\n1. [Install NodeJS](https://nodejs.org/) following the instructions on their website.\n2. Clone this repository\n3. Run `npm install` in this repository\n4. Run `npm start` and it should be running at `localhost:8080`\n\n\u003e Note: you can also debug in vscode. Use the `live server` extension to run the server and then you can debug in vscode using chrome (check they're pointing to the same localhost port).\n\n## Demo\n\n\u003e Note: animation is smoother than it appears, the gif just isn't great\n\n![demo](img/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrohod%2Fgravityjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrohod%2Fgravityjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrohod%2Fgravityjs/lists"}