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

#777 in Graphics APIs

Download history 24632/week @ 2024-10-23 27265/week @ 2024-10-30 21853/week @ 2024-11-06 15928/week @ 2024-11-13 16612/week @ 2024-11-20 17049/week @ 2024-11-27 15601/week @ 2024-12-04 18289/week @ 2024-12-11 15968/week @ 2024-12-18 11126/week @ 2024-12-25 13670/week @ 2025-01-01 19965/week @ 2025-01-08 23882/week @ 2025-01-15 19416/week @ 2025-01-22 23911/week @ 2025-01-29 26526/week @ 2025-02-05

96,174 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