RubyGems.org

A Ruby implementation of go-identicon by Damian Gryski RubyIdenticon creates an identicon, similar to those created by Github. A title and key are used by siphash to calculate a hash value that is then used to create a visual identicon representation. The identicon is made by creating a left hand side pixel representation of each bit in the hash value, this is then mirrored onto the right hand side to create an image that we see as a shape. The grid and square sizes can be varied to create identicons of differing size.

installgem install ruby_identicon
Authors

Chris Branson

2,474 total downloads 1,120 for this version
Owners

60c8691cedfcf939fc352716b43d5248

Licenses

MIT

Gemfile
gem 'ruby_identicon', '~> 0.0.3'
Versions
  1. 0.0.3 February 17, 2014 (9.5 KB)
  2. 0.0.2 February 17, 2014 (9.5 KB)
  3. 0.0.1 August 20, 2013 (9 KB)
Runtime Dependencies
  1. chunky_png ~> 1.3.0