random-icon

Crates.iorandom-icon
lib.rsrandom-icon
version
sourcesrc
created_at2025-03-25 22:37:45.351427+00
updated_at2025-04-11 14:57:32.382412+00
descriptionGenerates a random icon from a template.
homepage
repository
max_upload_size
id1605860
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(beklopft)

documentation

README

Generates svg data by filling these areas or leaving them empty.

an image showing the outlines of the areas

Every area has a probability of about 50% of being filled.

The library performs text to image hashing and if the crate feature "rand" is enabled can also generate random symbols.

Examples

Note: Generated icons won't have a white background.

  • "Lorem ipsum dolor sit amet"

    the hashed image

  • "आइकन 🙂 ▒"

    the hashed image

  • ""

    the hashed image of an empty string

  • Example for a random one

    random

Commit count: 0

cargo fmt