tags:

views:

113

answers:

3

I am looking for the most basic way to generate random "identicons", with no regard for a user email/ip address, etc.

+1  A: 

Wikipedia lists a number of implementations that allow this:

You could seed a library call with whatever random data you want.

ars
A: 

I wrote this the other day: http://jsfiddle.net/pHv6W/

It will generate a random hexadecimal hash and display an identicon and a monsterID from gravatar.com

Acorn
A: 

I made a jQuery plugin to solve this problem: You just need to supply the hash value.

Demo : http://francisshanahan.com/identicon5/test.html

jQuery Page: http://plugins.jquery.com/project/identicon5

Project Page: http://francisshanahan.com/index.php/identicon5

Francis Shanahan