verb
earcut
verb | earcut | |
---|---|---|
1 | 2 | |
720 | 2,117 | |
- | 1.6% | |
0.0 | 0.0 | |
over 1 year ago | 10 months ago | |
JavaScript | JavaScript | |
MIT License | ISC License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
verb
earcut
-
Looking for a modern way to draw filled polygons outta polyline-loop
To OP, you might want to check out https://github.com/mapbox/earcut. There are ports of it to all sorts of languages and it will help you with the triangulation.
- Function for generating and filling polygon from set of points
What are some alternatives?
NURBS-curve-2D-demo - NURBS curve 2D demonstration on a webpage. Built with p5.js.
delaunator - An incredibly fast JavaScript library for Delaunay triangulation of 2D points
NURBS-Python - Object-oriented pure Python B-Spline and NURBS library
turf - A modular geospatial engine written in JavaScript and TypeScript
3DTilesRendererJS - Renderer for 3D Tiles in Javascript using three.js
Delaunator-GDScript - A GDScript port of Delaunator: A fast library for Delaunay triangulation of 2D points.
OpenNURBS - OpenNURBS is an open-source NURBS-based geometric modeling library and toolset, with meshing and display / output functions.
earcut.hpp - Fast, header-only polygon triangulation
rbush - RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles