#2d #graphics #svg

lyon_algorithms

2D Path manipulation/transformation algorithms

22 releases (4 stable)

1.0.3 Feb 25, 2023
1.0.2 Nov 6, 2022
1.0.1 Aug 12, 2022
1.0.0 Jul 11, 2022
0.11.2 Jul 11, 2018

#217 in Graphics APIs

Download history 9056/week @ 2023-02-05 7400/week @ 2023-02-12 8060/week @ 2023-02-19 7579/week @ 2023-02-26 9581/week @ 2023-03-05 7416/week @ 2023-03-12 7600/week @ 2023-03-19 6470/week @ 2023-03-26 7746/week @ 2023-04-02 7741/week @ 2023-04-09 6771/week @ 2023-04-16 6584/week @ 2023-04-23 10077/week @ 2023-04-30 8930/week @ 2023-05-07 7969/week @ 2023-05-14 7946/week @ 2023-05-21

35,352 downloads per month
Used in 128 crates (9 directly)

MIT/Apache

350KB
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
~35K SLoC