A React component that deterministically generates robot icons based on the given input. See example code below:
<BotIdenticon
identifier="john von neumann"
size={500}
/>Note: this has been rewritten as a typescript package - @digitalungdom-se/bot-identicon.
Crypto-js is needed to hash the identifier.
identifier- the default is an empty stringsize- the size of the icon, default is 200pxcolor- manually set the color[h, s, l]face- manually set the face int in interval[0..7]they come in this order: cool, evil, kiss, incognito, normal, laughing, happyEyes, heartEyes.
The original robot design is by @charlesmaddock and @digitalungdom-se