Convert your name into Avatar

Here’s a tool that convert a name into avatar. How does the conversion work? There’re four basic shapes, face silhouette, pair of eyes, nose and mouth. Each comes in 18 different styles with a bunch of pixel pictures. The tool then combines each part into an overall face using transparency. To decide which specific style to choose for each part, […]

Here’s a tool that convert a name into avatar. How does the conversion work? There’re four basic shapes, face silhouette, pair of eyes, nose and mouth. Each comes in 18 different styles with a bunch of pixel pictures. The tool then combines each part into an overall face using transparency. To decide which specific style to choose for each part, the converter looks at the string entered in this way: e.g. character 1, 4, 8, 12... are added up by using their Unicode number (utf8ToUnicode function), and then that number’s divided by 18 and whatever remains as remainder (i.e. modulo operation) will settle the specific face silhouette number. Then the same is repeated for the nose using character 2, 5, 9 and so on, writes Philipp