Implement "identicon", "wavatar", "monsterid" and "retro" sets

Reported by François Marier on 2011-04-24
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Libravatar
Wishlist
Unassigned

Bug Description

Gravatar allows clients to request that missing images be replaced with a random-looking pattern or character that is different for each hashed email address. They are called: identicon, wavatar, monsterid and retro.

This is useful for sites that want to ensure that not everybody has the same "default" icon but also that comments from the same people can be visually tied together (since they share the same image).

Our implementation should be entirely static and pre-generated. The basic idea would be to find a set of parameters (e.g. color of the line, position of the lines, shape or thickness of the lines) that can be varied and combined. Then we could use the first X hexdigits of the photo hash to set these parameters and combine them into a complete image.

The number of hexdigits we look at will determine how many images will be needed (i.e. how much disk space and how many variations are needed).

(Currently, we redirect to Gravatar when one of these default patterns is requested.)

François Marier (fmarier) wrote :

Monsterid should be easy, the source code for the official implementation is here (and attached):

  http://www.splitbrain.org/projects/monsterid

and a description of how to use it:

  http://www.splitbrain.org/blog/2007-01/20_monsterid_as_gravatar_fallback

Melissa Draper (melissa) wrote :
François Marier (fmarier) wrote :

Ben Asselstine has also made a very interesting C library for generating random avatars:

  http://doodlehash.nongnu.org/

François Marier (fmarier) wrote :

Wikipedia also has a good list of links: https://en.wikipedia.org/wiki/Identicon

François Marier (fmarier) wrote :

A PHP library for the identicon images: http://sourceforge.net/projects/identicons/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers