Earlier quoted context omitted.
Plus 16.7 million RGB colors, making for quite a few combinations (somewhere around 230 billion).
True,but it's a bit hard to distinguish between #ffffff and #fffffe
Boring Avatars – React library to generate custom avatars
91–99 of 99 posts
Re: Boring Avatars – React library to generate custom avatars
#92Earlier quoted context omitted.
Not to hijack robohash. But hashicon is better: https://github.com/emeraldpay/hashicon https://schumanncombo.com/hashicon
I don’t know man, robots are much cooler than color boxes. I think the robots win here.
Re: Boring Avatars – React library to generate custom avatars
#93Earlier quoted context omitted.
Faces for avatars are almost always better than other options. We humans are really good at recognising faces, even cartoony or abstract ones, which helps users remember other users by their avatars. Some people are visually impaired or face-blind so this shouldn't be the sole means of identifying users, but for most of us, avatars are really important. There are people who I know from online fora that I haven't visi…
100% agree that faces are easier to remember. But some people might have privacy and/or bias concerns about posting their real photo.
Re: Boring Avatars – React library to generate custom avatars
#94Re: Boring Avatars – React library to generate custom avatars
#95Earlier quoted context omitted.
If I create a library I would usually make it to solve my own usecase. And if you mainly work with react-apps, and your plan is to use it in an react app. Why not also make the library in react? In this case, I guess the developer wanted to use JSX to create it. And you could ofc use JSX without React. But most people are used to using it in react-context, and plan to use it in an react-app anyway. So to answer your…
Why put it on GitHub and a web page if you don't care about other people's use cases? I have no problem with people writing code for themselves. But if that is what you do, please don't post on Hacker News about it.
Re: Boring Avatars – React library to generate custom avatars
#96Earlier quoted context omitted.
> The really boring approach IMO is to choose a random solid color and put the user's initial(s) on top of it. This makes it pretty unique and much easier to associate someone back to their avatar. I agree that it's a good simple baseline, but going on a minor off-topic rant, I find it very annoying when this is implemented under the anglocentric assumption of names always being of the format Firstname (Middlename) S…
This is something I really appreciate about Faker[1], a library that generates random data to seed your development DB with. It will throw you about as many curveballs than obvious 'happy path' names, addresses, phone numbers and whatnot. [1]: https://fakerphp.github.com/
In fact, it has a function to generate random hex colors too, and you can even filter it to only generate darker colors so you can create nice looking random avatar circles with a white text color to ensure you get good contrast ratios without having to worry about doing a YIQ based contrast calculation.
Re: Boring Avatars – React library to generate custom avatars
#97Earlier quoted context omitted.
> The really boring approach IMO is to choose a random solid color and put the user's initial(s) on top of it. This makes it pretty unique and much easier to associate someone back to their avatar. I agree that it's a good simple baseline, but going on a minor off-topic rant, I find it very annoying when this is implemented under the anglocentric assumption of names always being of the format Firstname (Middlename) S…
Technically it's "implemented" as a javascript library that you can edit and customize to fit your specific needs and use cases. Just because the default example is based on one set of assumptions does not mean the project is inherently limited or biased.
Re: Boring Avatars – React library to generate custom avatars
#98Earlier quoted context omitted.
It creates SVGs using React[1], it would be nontrivial to support another view library with this design and if you're going to support only one at initial release React is probably the most popular bet. [1]: https://github.com/boringdesigners/boring-avatars/blob/maste...
But you could just write that generation in plain JavaScript, React is really just a syntax.
Re: Boring Avatars – React library to generate custom avatars
#99Earlier quoted context omitted.
But has the concept been producing positive results?
It did in this case. Nobody would have batted an eyelash if they had gone with, say, US Presidents, a list which excludes women. This tweaks on that notion. Somebody got angry about it. That person got downvoted. We all learned a tiny lesson about the ways that women get excluded regularly, and how that would make you feel. If one particular HN poster learned a lesson that not everybody supports them on "I won't comp…