đ ī¸Utility Functions
You can find some functions here that can help with quickly creating avatars or getting useful information.
Last updated
You can find some functions here that can help with quickly creating avatars or getting useful information.
Last updated
Create a DAvatar object and return it.
Returns: a new
DAvatar
object
Parameter | Type | Default | Description |
---|---|---|---|
Create a random DAvatar object and return it.
Returns: a new
DAvatar
object
Create a list of DAvatar
objects (with random seeds).
Returns:
list[DAvatar]
: a list ofDAvatar
objects
Parameter | Type | Default | Description |
---|---|---|---|
Parameter | Type | Default | Description |
---|---|---|---|
randomOptions
False
Whether to use random (background) options for this avatar or not
style
DStyle.random()
seed
None
Base string to determine the avatar.
options
DOptions.empty
General options for the avatar.
customisations
None
Customisations (for the chosen style)
style
DStyle.random()
amount
2
The amount of DAvatar objects you want to create.
options
DOptions.empty
General options for the avatars.
custom
None
Customisations (for the chosen style)
The style of avatar you want to create ()
The style you want to create ()