24 releases (6 stable)

new 1.0.5 Dec 8, 2024
1.0.4 Nov 18, 2023
1.0.3 Feb 25, 2023
1.0.2 Nov 6, 2022
0.11.2 Jul 11, 2018

#756 in Graphics APIs

Download history 23766/week @ 2024-08-22 25364/week @ 2024-08-29 26567/week @ 2024-09-05 25393/week @ 2024-09-12 26512/week @ 2024-09-19 27488/week @ 2024-09-26 26669/week @ 2024-10-03 23867/week @ 2024-10-10 26803/week @ 2024-10-17 24339/week @ 2024-10-24 27871/week @ 2024-10-31 19378/week @ 2024-11-07 15867/week @ 2024-11-14 17193/week @ 2024-11-21 16820/week @ 2024-11-28 12944/week @ 2024-12-05

65,171 downloads per month
Used in 197 crates (9 directly)

MIT/Apache

355KB
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