blockies.rs
library that generates blocky identicons
Rust implementation of javascript blockies library. Supports also ethereum blockies
Library usage
use Ethereum;
let blockies = default;
let mut png = Vecnew;
blockies.create_icon;
// `png` now contains a rendered image of the blockies for that address
assert_eq!;
CLI Usage
build with
cargo build --release -p blockies-cli
blockies 0.1.1
debris <marek.kotewicz@gmail.com>
blockies cli
USAGE:
blockies [OPTIONS] --seed <seed>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--mode <mode> Choose blockies image type
--output <output> Output file path
--scale <scale> Blockies pixel size
--seed <seed> Seed phrase for generating new image
--size <size> Blockies image size
TODO
- specifying colors via cli