根据用户的IP、邮箱名等任意数据为用户产生漂亮的随机头像。
![screenhost.1](https://raw.github.com/issue9/identicon/master/screenshot/1.png)
![screenhost.4](https://raw.github.com/issue9/identicon/master/screenshot/4.png)
![screenhost.7](https://raw.github.com/issue9/identicon/master/screenshot/7.png)
```go
// 根据用户访问的IP,为其生成一张头像
img, _ := identicon.Make(color.NRGBA{},color.NRGBA{}, 128, []byte("192.168.1.1"))
fi, _ := os.Create("/tmp/u1.png")
png.Encode(fi, img)
fi.Close()
// 或者
ii, _ := identicon.New(color.NRGBA{}, color.NGRGA{}, 128)
img := ii.Make([]byte("192.168.1.1"))
img = ii.Make([]byte("192.168.1.2"))
```