A collection of wallpaper generators. Based on a fork of bagyonis procedural wallpapers project in C++ (link). Rewritten in Rust.
- Set up your Rust toolchain with Cargo
- Clone this repository
- Build the project by typing
cargo build --release
- To get command-line help, run the built
procedural_wallpapers
binary with the--help
flag.
> cargo run --release --package procedural_wallpapers -- --help
Procedural Wallpapers Generator - CLI tool
Usage: procedural_wallpapers [OPTIONS] --mode <MODE> --output <OUTPUT>
Options:
-m, --mode <MODE> Image generation mode [possible values: clouds, flow, islands, lightning, nearestpoint, tangles, cellularone, squares, squareshor, squaresver, squaresdiag, squares2, squares2h, squares2v, nearestgradient]
-w, --width <WIDTH> Desired width (pixels) of the generated image [default: 1920]
-h, --height <HEIGHT> Desired height (pixels) of the generated image [default: 1080]
-s, --seed <SEED> Seed for the random number generator. If a seed of 0 is given, no seed is used [default: 0]
-o, --output <OUTPUT> The output file to save
--help Open the command-line help
-V, --version Print version
All the example images shown below were generated with a size of 400
x400
pixels and a seed of 123456
.
They can be automatically re-generated by running make thumbnails
in the project directory.