This is not meant to be snarky, but what's the point of this? What use does the pattern being uniquely generated from a SHA of a distinct string have over a random pattern being generated from a SHA of some random string?
I could generate a random string for each user, but then I'd have to store it somewhere. It's better to just use the username as the seed.
It's the same fundamental principle behind identicons.