identicon-rs 1.2.1

identicon-rs is a library built around custom generation of identicon images.
Documentation

Identicon

This is an Identicon implementation in rust.

Example:

use identicon_rs::Identicon;

fn main() {
    let fluffy_samurai = "fluffy-samurai";
    let test_string = "identicon_rs";

    // stored example
    let identicon_fluffy = Identicon::new_default(fluffy_samurai);
    identicon_fluffy.save_image("output_1.png");

    // chained example with no border
    Identicon::new_no_border(test_string).save_image("output_2.png");
}

TODO

  • add documentation to code
  • add more information to README.md
  • add more examples
  • prevent second image generation loop due to borders
  • build a rust cli using this
  • build an npm/wasm package using this