23 releases (5 stable)

1.0.4 Nov 18, 2023
1.0.3 Feb 25, 2023
1.0.2 Nov 6, 2022
1.0.0 Jul 11, 2022
0.11.2 Jul 11, 2018

#728 in Graphics APIs

Download history 27660/week @ 2024-07-21 24783/week @ 2024-07-28 24125/week @ 2024-08-04 28428/week @ 2024-08-11 23808/week @ 2024-08-18 24119/week @ 2024-08-25 26444/week @ 2024-09-01 25213/week @ 2024-09-08 25907/week @ 2024-09-15 27867/week @ 2024-09-22 27275/week @ 2024-09-29 23981/week @ 2024-10-06 25538/week @ 2024-10-13 26045/week @ 2024-10-20 25239/week @ 2024-10-27 26588/week @ 2024-11-03

104,776 downloads per month
Used in 195 crates (9 directly)

MIT/Apache

350KB
9K SLoC

lyon::algorithms

A collection of various vector path manipulation algorithms.

crates.io documentation

  • Path bounding box
  • Path area
  • Path length
  • Winding numbers of a path at any position
  • Hatching a Path
  • Path hit testing
  • Path ray casting
  • walking along a path

lyon_algorithms can be used as a standalone crate or as part of lyon via the lyon::algorithms module.


lib.rs:

2d Path transformation and manipulation algorithms.

This crate is reexported in lyon.

Dependencies

~1.5MB
~34K SLoC