random-icon-lib

Crates.iorandom-icon-lib
lib.rsrandom-icon-lib
version0.1.10
created_at2025-03-25 12:34:59.262013+00
updated_at2025-05-29 14:51:48.409665+00
descriptionGenerates a random icon from a template.
homepage
repositoryhttps://github.com/fantacell/random-icon
max_upload_size
id1605127
size27,230
(fantacell)

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 default 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 of a random one

    random

Commit count: 116

cargo fmt