Artworks: PNG and ORA files licensed under: CC-By 4.0 attribution: David Revoy with the following exception: Generated cats used as Avatar (for blog,forum,social-network) don't need direct attribution and so, can be used as regular avatars without pasting David Revoy's name all over the place.
Code This PHP is licensed under the short and simple permissive: MIT License
Call the script this way:
echo '<img height="70px" width="70px" src="your/path/to/cat-avatar-generator?seed='.$var.'"/>';
(Note: for the seed, I advice to use author's name to not expose email or sensitive datas, even hashed on a public code.)
How to edit artworks
- Open img/00_SRC.ora with Krita ( or Gimp,Mypaint,Pinta) Do your edit/draw/paint, respect layer naming, save.
- Open it again in Gimp 2.8, with the export layer plugin
- Scale the image down to the result you want (eg. 256px x 256px as on the demo ) LancZos filter
- File > Export layer (Allow invisible layer to be exported, check 'image size', PNG file format )
All PNG files of 'parts' are extracted this way and keep their layer name.