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

#786 in Graphics APIs

Download history 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 27854/week @ 2024-11-03 15384/week @ 2024-11-10 16290/week @ 2024-11-17 17086/week @ 2024-11-24 15886/week @ 2024-12-01 16998/week @ 2024-12-08 18234/week @ 2024-12-15 12028/week @ 2024-12-22 10893/week @ 2024-12-29 16589/week @ 2025-01-05

59,745 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