sdfgen

DO NOT USE IN PRODUCTION IF YOU ARE SANE. This package is not actively maintained and performs suboptimally to say the least.

Alternatives

Building the project

console cargo build --release Without the release flag, the execution time can be up to 10 times slower.

Running the project

console ./target/release/sdfgen [OPTIONS] rust Optional arguments: -h,--help Show this help message and exit -v,--verbose Be verbose -f,--file FILE filepath of the input image. Defaults to "images/sdf500.png" -s,--scale SCALE Scale of the distance field. For example resolution 500x500 becomes 250x250 with scale 2 and 125x125 with scale 4. Defaults to 32. -t,--threads THREADS Number of assigned threads. Defaults to 8. -V,--version Show version

License: MIT