I am looking for the most basic way to generate random identicons with no regards to information such as a user email or IP address etc.
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
-
Why does the box-shadow property not apply to 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
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
Wikipedia lists a number of implementations that allow this:
You could seed a library call with whatever random data you want.