https://github.com/phrozen/identicon
A collection of Identicon algorithms
https://github.com/phrozen/identicon
generated-art golang hash identicon identity
Last synced: about 1 year ago
JSON representation
A collection of Identicon algorithms
- Host: GitHub
- URL: https://github.com/phrozen/identicon
- Owner: phrozen
- License: mit
- Created: 2025-03-18T23:55:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T04:31:02.000Z (about 1 year ago)
- Last Synced: 2025-03-19T05:26:36.798Z (about 1 year ago)
- Topics: generated-art, golang, hash, identicon, identity
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# identicon
A colection of Identicon algorithms written in Go for fun and experimentation.
## Install
`go get -u github.com/phrozen/identicon`
## Examples
### GitHub
Close port of the GitHub Identicon algorithm (12x12)
```go
img := identicon.GitHub("phrozen") // paletted image 1bpp
```

### Github Alternate
A dark alternate that uses more of the hash information for a more distinct result (16x16)
```go
img := identicon.GitHubAlternate("phrozen") // paletted image 1bpp
```
