X
X
xmoonlight2016-09-25 08:51:44
PHP
xmoonlight, 2016-09-25 08:51:44

Procedural creation of unique avatars?

Hello.
How to create those of which the maximum number from the list (excluding real ones, of course)?
b19499c741ce43aca7b8d016e68fa9b9.jpg
Needed in PHP and/or JS.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Bogachev, 2016-09-25
@xmoonlight

The generation of this kind of pictures is based on the fact that a hash is calculated from the name / mail / some other parameter, and then based on it, a picture is already generated using some (often chosen by eye) algorithm. In javascript, it is convenient to do this on canvas, since it can be easily twisted and it is not difficult to make a symmetrical picture. It remains only if necessary to save it to a file, but this question is easily googled.
To illustrate, I will attach my example on codepen (it was written in haste, so don’t kick the code for ***)

F
Fenix957, 2016-09-25
@Fenix957

fractals can

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question