random-icon

Crates.iorandom-icon
lib.rsrandom-icon
version0.1.5
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
size14,601
(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 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