24 releases (6 stable)

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

#821 in Graphics APIs

Download history 16478/week @ 2024-11-16 16963/week @ 2024-11-23 15923/week @ 2024-11-30 16463/week @ 2024-12-07 18565/week @ 2024-12-14 12264/week @ 2024-12-21 10807/week @ 2024-12-28 18260/week @ 2025-01-04 24521/week @ 2025-01-11 20641/week @ 2025-01-18 18910/week @ 2025-01-25 27832/week @ 2025-02-01 28698/week @ 2025-02-08 26615/week @ 2025-02-15 27186/week @ 2025-02-22 25365/week @ 2025-03-01

113,158 downloads per month
Used in 202 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