Giter Site home page Giter Site logo

dcramer / intersect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noonat/intersect

0.0 2.0 0.0 3.15 MB

An explanation of 2D collision tests in JavaScript

Home Page: http://noonat.github.io/intersect/

License: zlib License

HTML 47.51% JavaScript 3.96% CSS 8.43% TypeScript 40.10%

intersect's Introduction

JavaScript 2D Collision Detection Build Status

Intersect is a collection of common 2D collision detection tests, written as a tutorial. Hopefully this saves you from the pain of hunting them down yourself, or trying to rip them out of physics libraries.

If you're looking for further reading, you are hurting yourself if you don't buy Real-Time Collision Detection. It is easily the best purchase you could make if you are learning about collision detection. There is also an excellent list of different algorithms here.

The code is written in TypeScript, but it's simple and should be easily portable to your language of choice. To get started, take a look at:

Note that the compiled JavaScript source is also available in the lib folder, if you find TypeScript difficult to read.

intersect's People

Contributors

noonat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.