Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/splitbrain/php-ringicon
A Indenticon/Glyphicon Library
https://github.com/splitbrain/php-ringicon
avatar avatar-generator glyphicon glyphicon-library gravatar identicon php php-library
Last synced: 5 days ago
JSON representation
A Indenticon/Glyphicon Library
- Host: GitHub
- URL: https://github.com/splitbrain/php-ringicon
- Owner: splitbrain
- License: mit
- Created: 2016-04-18T21:54:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T13:07:32.000Z (over 6 years ago)
- Last Synced: 2024-10-05T13:15:35.522Z (about 1 month ago)
- Topics: avatar, avatar-generator, glyphicon, glyphicon-library, gravatar, identicon, php, php-library
- Language: PHP
- Size: 24.4 KB
- Stars: 14
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-identicons - Ringicon
README
RingIcon - A Indenticon/Glyphicon Library
=========================================This minimal library generates identifiers based on an input seed. It can be
used to generate avatar images or visualize other identifying info (like
crypto keys). The result is a PNG or SVG image.It has no dependencies except the GD library extension for PHP for PNG images.
![Multicolor with 3 Rings](sample.png)
![Monochrome with 5 Rings](mono.png)Usage
-----See the ``demo.html``/``demo.php`` files for examples.
You can tune the following parameters:
- The size of the resulting image (via constructor)
- The number of rings to generate (via constructor)
- Multicolor versus monochrome image (via ``setMono()`` method)The monochrome version uses a single color and variates the alpha transparency of the rings.