-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
64 lines (37 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
What is funkyavatar?
--------------------
It is an avatar image creation script written in Python that draws
funky avatars for given (email-)hashes.
If you don't like identicon (too algorithmic) or wavatar/monsterid
(too childish), funkyavatar is for you!
http://labs.atizo.com/software/#funkyavatar
How does it look like?
----------------------
Check out the example images in the source directory.
How does it work?
-----------------
It uses three different shapes that are colored, moved and rotated
depending on the given hash. One shape is colored, the other two are
gray.
The shapes are stored as SVG paths, so feel free to draw new ones
and play...
How can I use it?
-----------------
You need to install python-cairo and python-pyparsing and add funkyavatar to
your PYTHONPATH.
Then use it like this:
################################################################################
from funkyavatar import FunkyAvatar
import hashlib
size = 200
email = '[email protected]'
a = FunkyAvatar(size)
hash_value = hashlib.md5(email).hexdigest()
a.generate(hash_value)
a.save_png('avatar.png')
################################################################################
Am I allowed to use/modified it?
--------------------------------
funkyavatar is free software, licensed under the terms of the GNU
General Public License v2. See COPYING for more details.
Copyright (c) 2010 Atizo AG. All rights reserved.