Expand description
A crate for creating a random round image in the svg format. Images are always symmetrical, in order to be more recognizable. It varies between transparent and black areas.
§Warning
An icon can be completely empty (transparent) or only showing tiny areas. If you want something to always be visible, consider giving it a border or background.
Re-exports§
pub use hashing::hash;
Modules§
Functions§
- create_
random_ svg_ file - Convenience function to create a new file at the given path and write a random icon to it.
- create_
svg_ file_ from_ hashed_ string - Convenience function to create a new file at the given path and write an icon from a hashed string to it.
- write_
random_ svg - Creates a random icon and writes it as svg data.
- write_
svg_ from_ hashed_ string - Converts text to an icon (via hashing) and writes it as svg data. The same text will always result in the same icon.