non-gon
    Preparing search index...

    non-gon


    Logo

    NON-GON

    A Non-Polygonal Collision Detection Library for Real-Time Queries Between Smooth Convex Shapes
    Explore the docs Β»

    View Demo

    Table of Contents
    1. About The Project
    2. Getting Started
    3. Usage
    4. License
    5. Contact
    6. Acknowledgments

    NON-GON is a curated library of analytical functions for computing shortest distances and proximity queries between smooth convex shapes in real time. Designed for applications in game engines, physics-based simulations, and interactive systems, NON-GON focuses on non-polygonal geometriesβ€”offering a high-precision, memory-efficient alternative to mesh-based approaches.


    • Point
    • Line Segment
    • Circle
    • Ellipse
    • Superellipse
    • General Smooth Convex Shape
    • Point
    • Plane
    • Ellipsoid
    • Superellipsoid
    • Cylinder
    • Hyperboloid
    • Elliptic Paraboloid
    • Strictly Convex Shapes

    • Point – Ellipse
    • Ellipse – Ellipse
    • Superellipse – Line Segment
    • Smooth Convex – Line Segment
    • Almost Convex/Concave – Circle
    • Point – Ellipsoid
    • Ellipsoid – Ellipsoid
    • Superellipsoid – Plane
    • Strictly Convex – Plane
    • Ellipse – Ellipse
    • Ellipsoid – Ellipsoid
    • Cylinder – Cylinder
    • Hyperboloid – Plane
    • Ellipsoid – Elliptic Paraboloid

    (back to top)

    • TypeScript
    • Three.js

    (back to top)

    1. Clone the repo
      git clone https://github.com/github_username/repo_name.git
      
    2. Install NPM packages
      npm install
      
    3. Run the project
      npm run dev
      

    (back to top)

    Distributed under the MIT License.

    (back to top)