mapbox

mapbox/earcut

The fastest and smallest JavaScript polygon triangulation library for your WebGL apps

JavaScript
2421
215
ISC License

Earcut is a fast, lightweight JavaScript library for 2D polygon triangulation, designed for real-time applications like WebGL rendering. It uses a modified ear-slicing algorithm optimized for speed and robustness, making it ideal for developers working on interactive maps, games, or graphics projects who need efficient polygon triangulation without sacrificing too much accuracy.

Total donated
Undistributed
Share with your subscribers: