12 ms·
Ugly Avatar
- sphars 3y agoSee also the duck generator, by the same creator: https://txstc55.github.io/duck-duck-duck/ https://txstc55.github.io/duck-duck-duck/
- qianyin 3y ago[dead]
- fanqie 3y ago[dead]
- fanqie 3y ago[dead]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- bbgt 3y agoshort hair;glasses
- 1111z 3y ago[flagged]
- 1111z 3y ago[flagged]
- 1111z 3y ago[flagged]
- gus_massa 3y agoIs it possible to have a gravatar-like interface, where I get a fixed image?
- enahs-sf 3y agoburgeoning startup opportunity right here
- jallmann 3y agoBoringAvatars [1][2] or Robohash [3] [1] https://boringavatars.com https://boringavatars.com [2] URL service: https://github.com/boringdesigners/boring-avatars-service/blob/main/README.md https://github.com/boringdesigners/boring-avatars-service/bl... [3] https://robohash.org https://robohash.org
- txstc55 3y agoI mean i also made this one: https://txstc55.github.io/simple-avatar/ https://txstc55.github.io/simple-avatar/
- poyu 3y agoThis is the generative art I love!
- ants_everywhere 3y agoUh, are they all brown? EDIT: oops, my fault, dark reader was changing the colors.
- h4x0rr 3y agoYou have dark reader on?
- squigz 3y agoHah. I do, and it definitely caught me off guard too. Thanks for pointing that out!
- ants_everywhere 3y agooh yeah I do, thanks! I'm not sure why I didn't think of that.
- 128keaton 3y ago[dead]
- imzadi 3y agoI feel called out
- EGreg 3y agoWhat are some of the best libraries that would generate an avatar in PHP directly? Or in Javascript? I don't want to have to hit any APIs.
- sph 3y agoImageMagick?
- hiccuphippo 3y agoYou could generate svg.
- jaynetics 3y agoIf you want to deterministically generate avatars for your users, you're looking for "identicons". Googling that will yield several libraries for any common language.
- doublerabbit 3y agoPHP is nice with GD or ImageMagick. Make a circle.png Use GD to overlay colour over the radius of the circle Apply facial details Then finally anything extra
- Menu_Overview 3y agoYou'll need a library that can render to some 2D-context that can then be converted to PNG. JS is probably where you should look. You might be able to find a good PHP drawing library but I've never come across that in my work. Lots of image converting libraries out there (usually just a wrapper around ImageMagik), but "drawing images" usually a client-side thing and you'll find more support for it. In JS, you'll draw the image to a `<canvas>` element, which can then be downloaded as a PNG. You could go the SVG route, too, depending on the art style. Canvas is the safer bet.
- Superoutman 3y ago[dead]
- arjan_sch 3y agoNice project. Would be good to add a bit more diversity to the skin tones though :)
- whatshisface 3y agoIt would get this guy absolutely murdered if one of the funny faces looked racist.
- hateful 3y agoIf you had the Dark Reader extension enabled like I did when I first went to the site...
- zwirbl 3y agoI didn't even realize until I read your comment
- braingravy 3y agoYa you’re right brown people can’t be included in funny or silly things. Good call good call.
- mock-possum 3y agoCan we not do that here please The whole “you’re not allowed to do anything these days for fear of being accused of being racist” thing
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- whatshisface 3y ago
- sccxy 3y agoPerfect Replace intranet/Jira avatars with these on April 1st.
- oseph 3y agoAh this is awesome! I really like how you handled the hair in these. I made something similar a few years back, pulling from a suite of random textures. https://holinaty.com/randomfaces/ https://holinaty.com/randomfaces/
- unobatbayar 3y agoAh, sorry guys. A little late disclaimer. I didn't create this project. All the credit goes to Xuan Tang. - https://txstc55.github.io/ https://txstc55.github.io/ - https://news.ycombinator.com/user?id=txstc55 https://news.ycombinator.com/user?id=txstc55
- mvid 3y agoThis reminds me of the only NFT collection I have ever liked: https://www.stargaze.zone/m/stars19jq6mj84cnt9p7sagjxqf8hxtczwc8wlpuwe4sh62w45aheseues57n420/tokens https://www.stargaze.zone/m/stars19jq6mj84cnt9p7sagjxqf8hxtc...
- ggorlen 3y agoFantastic, but unfortunately the source code is minified: https://github.com/txstc55/ugly-avatar https://github.com/txstc55/ugly-avatar, making it difficult to see how it was done and learn from or contribute to the project.
- enahs-sf 3y agoI just looked at the source map in the browser — you can check it out there.
- ggorlen 3y agoThanks! I found the Vue source in Firefox by going into the Debugger tab in DevTools, and clicking on Sources > Webpack > ugly-face > src. Chrome makes it a bit more intuitive, since the tab is called Sources, then click into Page > top > ugly-face > src. That said, I don't understand why the author didn't simply commit the source code into the GH repo, especially since it's fully retrievable anyway. Maybe there's some goal in doing that other than security by obscurity I'm missing, since they've followed the same pattern for multiple of their repos. It seems kind of anti-collaborative to me.
- txstc55 3y agoI believe for avatar generations i have including this one, three of them. I thought i pushed the code already. For any code that requires a database access I don't push the code
- ggorlen 3y agoThanks, I appreciate seeing the code! For code with database access, you could use an environment variable from a .env file and gitignore that file, making it safe to share. (you're probably already aware of this practice and may have another reason not to want to push it)
- txstc55 3y ago
- blastro 3y agoLooks like the animation style of the cartoon "Home Movies" - seriously underrated show. Jon H Benjamin is the voice of the main character.
- wonger_ 3y agoSame thought! Home Movies is one of my favorite shows. And it looks so similar: https://www.youtube.com/watch?v=CJcBL9JPfZw&list=PLqIbkxo6OPu-JxjHggZnIWNw6SWmKc2nc https://www.youtube.com/watch?v=CJcBL9JPfZw&list=PLqIbkxo6OP...
- joemi 3y agoI immediately thought the same and figured I just got one that looked kind of like that to start of with, and reloaded and reloaded and reloaded and was so pleased when I just kept getting ones that looked like Home Movies. Because of that, they all strike me as charming and amusing more than they do ugly.
- Klonoar 3y agoErr, that’s if you consider McGuirk the main character. Which sometimes I could see, haha. Small voiced his namesake in that cartoon.
- blastro 3y agoAh, you're right. It's been a while since I've seen the show.
- saghm 3y agoYeah, as much as McGuirk is my favorite character on that show, I think it's a bit of a stretch to call him the main character. He's definitely the most recognizable voice from the show though!
- flymasterv 3y agoThe grill is really the main character.
- 3y ago
- ihaveajob 3y agoHa! This is basically why I bought uglyavatar.com a couple of years ago. I was taken aback when I saw this on HN. Maybe I should do something with it one day...
- doublerabbit 3y agoJust url redirect it to this repo page, if your not doing anything with it. Might as well point it somewhere.
- orryun 3y ago[flagged]
- nameless912 3y agoWhat value would this add to humanity?
- elwell 3y agoWhat value does it add to humanity as is? I think either both do or both don't. Money just moves value around; I guess you could argue Ethereum is bad for the environment, that's valid, but so is this GH page, though less so,
- amadeuspagel 3y agoThat's cool. Hacks into our ability to recognize faces, without requiring real faces. A forum, where these avatars are randomly generated per thread would be cool. Kind of like /pol/ thread ids, but easier recognize.
- harrisi 3y agoPareidolia, or, more generally, apophenia.
- deleted 3y ago[deleted]
- txstc55 3y agoHi all, I'm the creator of this website, I will open source the code soon. Any support is appreciated. If you have X/twitter, consider also liking this post: https://twitter.com/txstc55/status/1772163607809478948 https://twitter.com/txstc55/status/1772163607809478948
- mike986 3y agovery entertaining. if it's not a lot, can you have another UI that display more than one avatar at a time? say, 3x3 or 4x3 grid? Thanks
- txstc55 3y agoIt’s not hard but I don’t see the use of this, so probably not. And also although it doesn’t seem like it but the computation is quite intense for them, having multiple will lag the browser
- mike986 3y agono worry. maybe i'll explain why, it's like the finding a mate for marriage problem. you dates enough ppl to have a taste of what you like, and then for the next one that comes along that is on par with the best you've seen, you take that. i guess a 3x3 grid is not necessary, maybe when you click "another", push the old one up (or down) the stack but keep it around so I can always go back and pick the best one I liked so far after the sampling? Anyway, don't sweat about it, thanks for creating this.
- navane 3y agoWhat you are looking for is called the secretary problem [0]. This states that in a search like yours, you can determine beforehand how often you are willing to press "another", and after 37% of attempts, you pick the first one that's better than the best one so far. [0] https://en.m.wikipedia.org/wiki/Secretary_problem https://en.m.wikipedia.org/wiki/Secretary_problem
- deleted 3y ago
- layer8 3y agoI love this. Should be hosted on thisavataristoouglytoexist.com though.
- deleted 3y ago[deleted]
- kevin_am 3y agoGreat, and I think I've seen something similar like this style.
- wr516516 3y ago[flagged]
- xyloading 3y ago[flagged]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- mustact 3y ago[dead]
- username157 3y ago[flagged]
- username157 3y ago[flagged]
- FLFU 3y ago[flagged]
- zhefox 3y ago[dead]
- zhefox 3y ago[dead]
- lswleecc 3y ago[flagged]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- snow12123 3y ago[flagged]
- addiner2024 3y ago[flagged]
- qqqqqqqqw 3y ago[dead]
- ptowan 3y ago[dead]
- ptowan 3y ago[dead]
- feifei123 3y ago[flagged]
- feifei123 3y ago[flagged]
- feifei123 3y ago[flagged]
- 11757 3y ago[flagged]
- 11757 3y ago[flagged]
- news111111 3y ago[dead]
- dooonsun 3y ago[flagged]
- deleted 3y ago[deleted]
- lawliet_1990 3y ago[flagged]
- lawliet_1990 3y ago[flagged]
- wtfwtf111 3y ago[dead]
- tractor08 3y ago[flagged]
- whc747914260 3y ago[flagged]
- whc747914260 3y ago[flagged]
- bianhui 3y ago[flagged]
- bianhui 3y ago[flagged]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- nyxlyoung 3y ago[flagged]
- dy123 3y ago[dead]
- dy123 3y ago[dead]
- pengxiaoyu 3y ago[flagged]
- pengxiaoyu 3y ago[flagged]
- qiyu 3y ago[dead]
- qiyu 3y ago[dead]
- qiyu 3y ago[dead]
- qiyu 3y ago[dead]
- deleted 3y ago[deleted]
- sunsongqi 3y ago[dead]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- qwe54321 3y ago[flagged]
- admin1221 3y ago[flagged]
- Atlas5277 3y ago[dead]
- Atlas5277 3y ago[dead]
- guaner 3y ago[flagged]
- deleted 3y ago[deleted]
- hahaha166 3y ago[dead]
- hahaha166 3y ago[dead]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- admin0099 3y ago[flagged]
- d442446459 3y ago[dead]
- d442446459 3y ago[dead]
- d442446459 3y ago[dead]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- roman24abc 3y ago[dead]
- deleted 3y ago[deleted]
- clg007 3y agoq
- deleted 3y ago[deleted]
- 111111w 3y ago[dead]
- cccxxx 3y ago[flagged]