#distance-field #sdf #gamedev #graphics

saft-sdf

Signed distance field function library

4 releases

0.2.1 Feb 22, 2024
0.2.0 Aug 23, 2023
0.1.1 Aug 21, 2023
0.1.0 Jan 30, 2023

#865 in Game dev

Download history 463/week @ 2023-12-16 6/week @ 2023-12-23 290/week @ 2023-12-30 389/week @ 2024-01-06 502/week @ 2024-01-13 470/week @ 2024-01-20 341/week @ 2024-01-27 246/week @ 2024-02-03 470/week @ 2024-02-10 407/week @ 2024-02-17 77/week @ 2024-02-24 18/week @ 2024-03-02 43/week @ 2024-03-09 1/week @ 2024-03-16 11/week @ 2024-03-30

56 downloads per month
Used in saft

MIT/Apache

44KB
1K SLoC

Rust 654 SLoC // 0.0% comments GLSL 349 SLoC // 0.0% comments

🧃 Saft-sdf

Signed distance field interpreter and function library

Contributing

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started.

License

Licensed under either of

at your option.

Contribution

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.


lib.rs:

Signed distance field function utilities and interpreter

Dependencies

~3.5MB
~97K SLoC