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

#788 in Graphics APIs

Download history 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 16773/week @ 2024-11-28 15818/week @ 2024-12-05 18407/week @ 2024-12-12 14523/week @ 2024-12-19 11030/week @ 2024-12-26 14918/week @ 2025-01-02 17415/week @ 2025-01-09

60,812 downloads per month
Used in 200 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