{"id":20596056,"url":"https://github.com/davidfig/pixi-intersects","last_synced_at":"2025-04-14T23:44:19.865Z","repository":{"id":57404897,"uuid":"62593567","full_name":"davidfig/pixi-intersects","owner":"davidfig","description":"shape collision / intersects library for pixi.js","archived":false,"fork":false,"pushed_at":"2016-12-28T14:26:00.000Z","size":749,"stargazers_count":45,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T11:51:06.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidfig.png","metadata":{"files":{"readme":"README.hbs","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}},"created_at":"2016-07-04T23:56:26.000Z","updated_at":"2025-01-03T12:39:55.000Z","dependencies_parsed_at":"2022-09-26T17:01:36.970Z","dependency_job_id":null,"html_url":"https://github.com/davidfig/pixi-intersects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-intersects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-intersects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-intersects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidfig%2Fpixi-intersects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidfig","download_url":"https://codeload.github.com/davidfig/pixi-intersects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654030,"owners_count":21140235,"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-16T08:14:54.166Z","updated_at":"2025-04-14T23:44:19.827Z","avatar_url":"https://github.com/davidfig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## intersects\nshape collision / intersects library for pixi.js\n\n## rationale\nthis is a simple libary that i designed for use with my game engine. most of the better collision libraries were too large or too heavily invested in physics. i wanted something simple that worked well with pixi.js.\n\n## Code Example\n\n    // point-Rectangle intersection\n\n    var sprite = new PIXI.Sprite(texture);\n    sprite.shape = new Intersects.Rectangle(sprite);\n    sprite.position.set(5, 5);\n    if (sprite.shape.collidesPoint(new PIXI.Point(10, 10)))\n    {\n        console.log('intersected');\n    }\n\n## Live Example\nhttps://davidfig.github.io/intersects/\n\n## Installation\n\n    npm i yy-intersects\n\n# API Reference\n{{\u003emain}}\n\n* * *\n\nCopyright (c) 2016 YOPEY YOPEY LLC - MIT License - Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fpixi-intersects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidfig%2Fpixi-intersects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidfig%2Fpixi-intersects/lists"}