#no-std #earcut #krh-earcut

no-std krh_earcut

A simple earcut polygon triangulation algorithm implementation

1 unstable release

0.1.0 May 4, 2024

#2000 in #no-std

MIT/Apache

11KB
125 lines

krh_earcut

A simple implementation of the earcut polygon triangulation algorithm, based on this blog post and the mapbox implementation.

No validation is performed on input data for maximal simplicity.

no_std

This crate is no_std compatible, but requires the alloc crate to be available.

Dependencies

~4.5MB
~140K SLoC