+
+
Gun-avatar
round
>
-
-
-
+
Room avatars
@@ -216,35 +222,60 @@
Mount all <img> elements with a certain class and
data-attributes on the page
-
Use the gunAvatar() function programmatically in your
@@ -255,13 +286,21 @@
>
<img
:src="gunAvatar({
- size:900,
+ size:100,
draw: 'squares'
dark: false,
reflect: false,
})"
/>
+
- Gun-avatar is a public key visualization tool -
-- It's intended to be used with - GUN peer-to-peer - database for creating avatars of - SEA - cryptographic key pairs. -
+
+
- User avatars
- A key pair may represent a user or some kind of dedicated data space. So - gun-avatar can visualize a public key in two main modes. We use - circles and symmetry to represent a user account and use squares and no - symmetry to represent "rooms". It's userful to generate small icons and - huge backgrounds as well. You define the size. -
-
+
+
+
+ + A key pair may represent a user or some kind of dedicated data + space. So + gun-avatar can visualize a public key in two main modes. We + use circles and symmetry to represent a user account and use squares + and no symmetry to represent "rooms". It's userful to generate small + icons and huge backgrounds as well. You define the size. +
+
Room avatars
@@ -216,35 +222,60 @@
>Web component
and use it as a custom HTML element
-
+
+
<gun-avatar
pub="O6_tdEg_zCSNO-nMWds2o-fjPgwqQ3sHyxczMiGwl50.zuMgYb93u6LrxWYTVIlIBFG7LkClU_FtOHlsNCbQDH8"
- size="60"
+ size="100"
draw="squares"
reflect="false"
round
dark
></gun-avatar>
+ >
+
+
+
+
++<gun-avatar pub="O6_tdEg_zCSNO-nMWds2o-fjPgwqQ3sHyxczMiGwl50.zuMgYb93u6LrxWYTVIlIBFG7LkClU_FtOHlsNCbQDH8" - size="60" + size="100" draw="squares" reflect="false" round dark ></gun-avatar>+ > ++++
++<img class="gun-avatar" data-pub="O6_tdEg_zCSNO-nMWds2o-fjPgwqQ3sHyxczMiGwl50.zuMgYb93u6LrxWYTVIlIBFG7LkClU_FtOHlsNCbQDH8" - data-size="60" + data-size="300" data-draw="circles" data-reflect="false" data-round data-dark />+ > ++ ++