Directories
¶
| Path | Synopsis |
|---|---|
|
Package errs holds the error types that surface through the public API.
|
Package errs holds the error types that surface through the public API. |
|
Package initials derives display initials from a seed string.
|
Package initials derives display initials from a seed string. |
|
Package num holds the numeric helpers shared by the PRNG and the renderer: SVG number formatting and the JavaScript-compatible half-up rounding the rest of the engine depends on for cross-language parity.
|
Package num holds the numeric helpers shared by the PRNG and the renderer: SVG number formatting and the JavaScript-compatible half-up rounding the rest of the engine depends on for cross-language parity. |
|
Package prng is the key-based pseudorandom number generator and its primitives (FNV-1a, Mulberry32).
|
Package prng is the key-based pseudorandom number generator and its primitives (FNV-1a, Mulberry32). |
|
Package render resolves options against a style and turns the element tree into the final SVG.
|
Package render resolves options against a style and turns the element tree into the final SVG. |
|
Package style is the validated, decomposed model of a style definition: the element tree, components (with aliases flattened), colors, and metadata, plus the OptionsDescriptor that enumerates a style's accepted options.
|
Package style is the validated, decomposed model of a style definition: the element tree, components (with aliases flattened), colors, and metadata, plus the OptionsDescriptor that enumerates a style's accepted options. |
|
Package validate checks style definitions and options against the shared draft-07 JSON schemas (the pure-data github.com/dicebear/schema module).
|
Package validate checks style definitions and options against the shared draft-07 JSON schemas (the pure-data github.com/dicebear/schema module). |
Click to show internal directories.
Click to hide internal directories.