Groovytar Identicon Example Page

Excuse the poor web design, I will make something better later.

The github for this project has better details: https://github.com/AliceWonderMiscreations/Groovytar

The hash being used for this example: e1e1d3d40573127e9ee0480caf1283d6

I am cheating with this a bit, there is a problem where sometimes when a hash is not yet cached but is requested multiple times, a race condition exists where the file it is cached to is read before it is being finished written to resulting in a broken SVG being served. I am cheating by only having 256 different possible different hashes for this example, giving a high liklihood that the images are already long ago generated and only served from the file cache avoiding that issue.

That is an issue I will attempt to resolve though in real world it will rarely be an issue.

What I might do is if it isn't cached to file, put a quickly expiring APCu lock on the hash so that that it doesn't try to serve it from file cache until the cache lock expires. But anyway...

PictoGlyph Identicon

This identicon is not yet finished, right now only ten different glyphs have been generated (there will be 32) and only about 60 color combinations have chosen, some of which will be rejected (there will be 128).

For small display, there are three rows of three. For large display, there are four rows of four.

The following PictoGlyph identicon is generated from the defined hash, shown displayed at various sizes:

96 CSS pixels wide:


128 CSS pixels wide:

Link to Full View


192 CSS pixels wide:


256 CSS pixels wide:

Link to Full View


Confetti

Other than maybe improving the generated frame, this one is done. The same image is used large or small.

The following Confetti identicon is generated from the defined hash, shown displayed at various sizes:

96 CSS pixels wide:


128 CSS pixels wide:


192 CSS pixels wide:


256 CSS pixels wide:

Link to Full View