{"id":15494042,"url":"https://github.com/noonat/intersect","last_synced_at":"2025-04-15T06:11:22.772Z","repository":{"id":3231407,"uuid":"2007629","full_name":"noonat/intersect","owner":"noonat","description":"An explanation of 2D collision tests in JavaScript","archived":false,"fork":false,"pushed_at":"2023-01-03T15:14:18.000Z","size":3053,"stargazers_count":84,"open_issues_count":24,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-14T22:21:03.598Z","etag":null,"topics":["collision","collision-detection","game","game-development","javascript","typescript"],"latest_commit_sha":null,"homepage":"http://noonat.github.io/intersect/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noonat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-07-06T16:52:29.000Z","updated_at":"2023-07-12T15:33:56.000Z","dependencies_parsed_at":"2023-01-11T16:16:26.346Z","dependency_job_id":null,"html_url":"https://github.com/noonat/intersect","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/noonat%2Fintersect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noonat%2Fintersect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noonat%2Fintersect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noonat%2Fintersect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noonat","download_url":"https://codeload.github.com/noonat/intersect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016627,"owners_count":21198833,"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":["collision","collision-detection","game","game-development","javascript","typescript"],"created_at":"2024-10-02T08:10:46.707Z","updated_at":"2025-04-15T06:11:22.755Z","avatar_url":"https://github.com/noonat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"JavaScript 2D Collision Detection [![Build Status][travis_image]][travis]\n=================================\n\nIntersect is a collection of common 2D collision detection tests, written as a\n[tutorial][annotated]. Hopefully this saves you from the pain of hunting them\ndown yourself, or trying to rip them out of physics libraries.\n\nIf you're looking for further reading, you are hurting yourself if you don't\nbuy [Real-Time Collision Detection][rtcd]. It is easily the best purchase you\ncould make if you are learning about collision detection. There is also an\nexcellent [list of different algorithms here][algorithms].\n\nThe code is written in TypeScript, but it's simple and should be easily\nportable to your language of choice. To get started, take a look at:\n\n- [the annotated, TypeScript source for the 2D collision library][annotated]\n- [the TypeScript source for the library itself, extracted from the tutorial][intersect]\n- [the TypeScript source for the examples used in the tutorial][examples]\n\nNote that the compiled JavaScript source is also available in the lib folder,\nif you find TypeScript difficult to read.\n\n[annotated]: http://noonat.github.io/intersect\n[examples]: https://github.com/noonat/intersect/blob/master/src/examples.ts\n[intersect]: https://github.com/noonat/intersect/blob/master/src/intersect.ts\n[rtcd]: http://realtimecollisiondetection.net/\n[algorithms]: http://www.realtimerendering.com/intersections.html\n[travis]: http://travis-ci.org/noonat/intersect\n[travis_image]: https://secure.travis-ci.org/noonat/intersect.png?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoonat%2Fintersect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoonat%2Fintersect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoonat%2Fintersect/lists"}