clipper-lib

Boolean operations and offsetting library in Javascript (by junmer)

Clipper-lib Alternatives

Similar projects and alternatives to clipper-lib

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better clipper-lib alternative or higher similarity.

clipper-lib reviews and mentions

Posts with mentions or reviews of clipper-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-09.
  • Optimizing Polygon Intersections with Subdivide
    1 project | news.ycombinator.com | 5 Sep 2022
    I've only skimmed the article so their solution seems like a totally valid way to do polygon intersections for their purposes, but for people that want to do this in a more rigorous way, there's something called the Vatti clipping algorithm which does boolean operations on arbitrary 2D polygons (in polynomial time).

    To find polygon intersections, one can do a boolean "intersect" operation to see if the resulting operation has any results. If so, the polygons intersect. If not, then they're disjoint.

    Angus Johnson has created ClipperLib [1] which implements Vatti's algorithm and is available in a variety of languages, including C++, with ports to Javascript by others [2].

    CGAL [3] can do polygon clipping but, from my own experience, ClipperLib is about 400 times faster.

    [0] https://en.wikipedia.org/wiki/Vatti_clipping_algorithm

    [1] http://www.angusj.com/clipper2/Docs/Overview.htm

    [2] https://github.com/junmer/clipper-lib

    [3] https://www.cgal.org/

  • GJK: Collision detection algorithm in 2D/3D
    5 projects | news.ycombinator.com | 9 Mar 2022

Stats

Basic clipper-lib repo stats
2
159
0.0
11 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com