Avatars for the people.
Avatar is a JavaScript library for showing Gravatars or generating user avatars.
var avatar = new Avatar(document.getElementById('avatar'), {
'useGravatar': false,
'initials': 'MC'
});
The above example will render an avatar with my initials "MC" as the image.
See the README for static methods that return the URL or base64 strings.
Pretty styles and design support kindly provided by Andrew Crocker.
Avatar is MIT licensed.