2 releases
0.1.1 | Apr 23, 2022 |
---|---|
0.1.0 | Apr 23, 2022 |
#369 in Graphics APIs
28KB
400 lines
pixels-primitives
Basic operations such as lines and shapes for the pixels crate.
Usage
Cargo
In your dependencies section inside Cargo.toml
add
pixels_primitives = "0.1.0"
Code Examples
This project contains 5 examples, which can we ran with
cargo run -p draw_circles
cargo run -p draw_lines
cargo run -p draw_rectangles
cargo run -p draw_squares
cargo run -p draw_triangles
Screenshot of draw_circles
Screenshot of draw_triangles
Contributing
Some of these function can still be optimized. PRs are welcome!
License
MIT License