{"id":19238257,"url":"https://github.com/olical/physics","last_synced_at":"2026-06-19T11:01:59.257Z","repository":{"id":66128280,"uuid":"2115252","full_name":"Olical/Physics","owner":"Olical","description":"A particle physics engine built in JavaScript using MooTools","archived":false,"fork":false,"pushed_at":"2011-07-27T21:14:12.000Z","size":4818,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-05T02:10:32.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Olical.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}},"created_at":"2011-07-27T21:05:05.000Z","updated_at":"2015-11-11T14:02:45.000Z","dependencies_parsed_at":"2023-02-19T23:01:01.050Z","dependency_job_id":null,"html_url":"https://github.com/Olical/Physics","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2FPhysics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2FPhysics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2FPhysics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2FPhysics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olical","download_url":"https://codeload.github.com/Olical/Physics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240324061,"owners_count":19783453,"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","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-09T16:30:04.748Z","updated_at":"2026-06-19T11:01:59.249Z","avatar_url":"https://github.com/Olical.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis is a particle physics engine built in JavaScript using MooTools.\n\nIt can handle thousands of particles at once, each with their own velocity and attributes.\n\nBecause of the use of events, you can hook in at any point and use the engine as you see fit.\n\nIt uses pixel perfect collision, so nothing will pop through anything else even if it is traveling faster than light.\n\n[Here is a demo on jsFiddle.](http://jsfiddle.net/Wolfy87/EqM6v/)\n\nHeres a little feature list to sum things up.\n\n * Handling of thousands of particles\n * Configurable world size and FPS\n * Implements velocity and friction based on weight which coincidentally adds terminal velocity\n * Event based so you can hook into the functionality easily\n * Uses [MooTools](http://mootools.net/) for a few methods, events and classes\n * Particles pass on velocity as they hit each other\n * Particles lose all velocity on the appropriate axis when they hit a wall\n\nFor documentation please check the source. I have included a jsDoc comment block for every method detailing the arguments, return values and events.\n\nAll events are emitted by the Physics.World class. Not each individual method.\n\nYou can also open up `test.html` and see whats going on there.\n\n# Author\n\nWritten by [Oliver Caldwell](http://olivercaldwell.co.uk/).\n\n# Licence\n\n**GPL v3**\n\nCopyright (C) 2011 Oliver Caldwell\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fphysics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folical%2Fphysics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fphysics/lists"}