{"id":20407544,"url":"https://github.com/cppshane/dynamic-particle-simulator","last_synced_at":"2025-07-21T19:31:59.883Z","repository":{"id":116679174,"uuid":"329139193","full_name":"cppshane/dynamic-particle-simulator","owner":"cppshane","description":"Easily create WebGL based N-body simulations in the browser.","archived":false,"fork":false,"pushed_at":"2022-11-06T00:05:59.000Z","size":1983,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T02:31:42.402Z","etag":null,"topics":["javascript","nbody","physics","shaders","webgl"],"latest_commit_sha":null,"homepage":"https://cppshane.github.io/dynamic-particle-simulator","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/cppshane.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-12T23:27:01.000Z","updated_at":"2022-11-01T20:02:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fb4e508-c7c2-4138-a27f-76052f57dbe3","html_url":"https://github.com/cppshane/dynamic-particle-simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cppshane/dynamic-particle-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppshane%2Fdynamic-particle-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppshane%2Fdynamic-particle-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppshane%2Fdynamic-particle-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppshane%2Fdynamic-particle-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cppshane","download_url":"https://codeload.github.com/cppshane/dynamic-particle-simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppshane%2Fdynamic-particle-simulator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266364232,"owners_count":23917840,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["javascript","nbody","physics","shaders","webgl"],"created_at":"2024-11-15T05:24:42.317Z","updated_at":"2025-07-21T19:31:59.848Z","avatar_url":"https://github.com/cppshane.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic Particle Simulator\nEasily create WebGL based N-body simulations in the browser.\n\n![dps-demo](https://user-images.githubusercontent.com/6633831/169607605-40e1c4d3-82df-4975-bbb8-fd2eec910191.gif)\n## How Does It Work?\nYou just need to call `ParticleRender.SetTimestepFunction(function(dt) { ... });`, where the function you pass in should return an array of positions (in 3d space) given some timestep. Everything else (running time loop, rendering via WebGL, etc.) is handled by the platform!\n\nA sample of all functionality including setting the initial camera angle/zoom and passing a timestep function can be seen in the \u003ca href=\"https://cppshane.github.io/Dynamic-Particle-Simulator\"\u003edefault configuration\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppshane%2Fdynamic-particle-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppshane%2Fdynamic-particle-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppshane%2Fdynamic-particle-simulator/lists"}