geofaces

Deterministic flat-geometric avatar faces. Same name, same face. Generated as SVG, nothing to host.

npm install geofacescopy

How it looks in a UI

A comment thread, each avatar generated from the commenter's email, inline next to their name.

No build step? Use a CDN

No bundler, no install. A CDN serves it for you, so there is nothing to host.

<script src="https://cdn.jsdelivr.net/npm/geofaces"></script>
<img id="a" width="64" height="64" alt="" />
<script>
  document.getElementById("a").src =
    geofaces.geoFaceDataUri("erin@example.com", { shape: "circle", size: 64 });
</script>