Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
发布评论
评论(3)
我前几天写的: http://jsfiddle.net/pHv6W/
它将生成一个随机的十六进制散列并显示来自 gravatar.com 的 identicon 和 monsterID
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
我制作了一个 jQuery 插件来解决这个问题:你只需要提供哈希值。
演示:http://francisshanahan.com/identicon5/test.html
jQuery 页面:http://plugins.jquery.com/project/identicon5
项目页面:http://francisshanahan.com/index.php/identicon5
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
维基百科列出了许多允许这样做的实现:
您可以使用您想要的任何随机数据来种子库调用。
Wikipedia lists a number of implementations that allow this:
You could seed a library call with whatever random data you want.