#graph #geometry #vector #pathing

prima

Generic 2D library used to handle graph structures and basic geometry

4 releases

0.5.3 Jan 17, 2022
0.5.2 Jan 12, 2022
0.5.1 Jan 5, 2022
0.5.0 Jan 5, 2022

#175 in #geometry

Download history 1/week @ 2024-02-19 8/week @ 2024-02-26 1/week @ 2024-03-04 1/week @ 2024-03-11 52/week @ 2024-04-01

53 downloads per month

MIT/Apache

1MB
2K SLoC

Prima

Latest Version docs Minimum Supported Rust Version

a collection of geometry and graph based utilities with emphasis on simple code and readability.

About The Project

Prima is yet another geometry library, built around the core principle of simple code and readability. It provides helper structs for primative shapes, basic collision detection and a suite of graph structures. The graphs are vector orientated and are built with procedural world building in mind. Generic floats have been avoided in favour of explicitly typed structs, following the example of glam. Support for the crate vek may be implimented in future updates.

Getting Started

As with most rust crates, this can be imported to a project using crates.io. Follow the link for more infomation.

Optional features

  • rendering - adds functionality for exporting shapes and graphs to image files.

License

Licensed under either of

at your option.

Contribution

Contributions are both welcome and appreciated!

Contributions in any form (issues, pull requests, etc.) to this project must adhere to Rust's Code of Conduct.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Contact

Caspar Green - caspar.m.green@gmail.com

Project Link: https://github.com/fishykins/prima

(back to top)

Dependencies

~6–10MB
~172K SLoC