Logo

dev-resources.site

for different kinds of informations.

Wrote a small library for text based avatar generation in SVGs.

Published at
7/10/2020
Categories
svg
silhouettejs
sideprojects
avatar
Author
utkarshdubey
Author
12 person written this
utkarshdubey
open
Wrote a small library for text based avatar generation in SVGs.

Wrote a dead-simple, small library in Javascript for generating text-based avatars(eg. Gmail pfp's with initials) in the SVG format. You could either save it in your database and directly include the svg code, or generate random avatars each time you reload.

Check it out with the documentation here: https://github.com/utkarshdubey/silhouette/

A live example has been hosted here:
https://silhouette-example.netlify.app

Featured ones: