View Source Hashvatar (hashvatar v1.0.0)
Implementation of Hashvatar by François Best
Summary
Functions
Generate a SVG hashvatar.
Functions
Generate a SVG hashvatar.
Options:
identifier
(required): the identifier used to generate the hashvatarvariant
(default::normal
): the variant, can be one of::normal
,:stagger
,:gem
,:spider
,:flower
line_color
(default:"white"
): the line color (as a CSS-like value)radius_factor
(default:0.42
): a coefficient for the circles radii
Attributes
identifier
(:string
) (required)variant
(:atom
) - Defaults to:normal
.line_color
(:string
) - Defaults to"white"
.radius_factor
(:float
) - Defaults to0.42
.