5 ms·
Show HN: Personal avatar generator built in ReasonML
- Brushfire 8y agoHey Everyone! We built Personas as a side project from building Draftbit. We started down this path after looking around for a set of colorful avatar icons to use on a project, and couldn't find a set that didn't force us to make some unfortunate choices around gender, race, and age. So we built our own set, and here it is! The site uses ReasonML to stack SVG's on top of each other, provide unique combinations of attributes. Our current set supports more than 2.5 billion possible permutations! You can use Personas to create a new icon for slack, social media, product hunt, etc. Or use the (free) Sketch file to build a set for your products or apps, or dig into the source code on GitHub to help us improve and expand Personas for everyone. Cheers!
- Secretmapper 8y agoDidn't know you could use ReasonML w/ GatsyJS. The app is really cute kudos!
- thegreatpeter 8y agoThank you, I should have thought of including Gatsby in the headline
- g-harel 8y agoThis is great, but I couldn't make on for myself because there is no "patchy beard" option D:
- thegreatpeter 8y agoIt’s open source! https://github.com/draftbit/avatar-generator https://github.com/draftbit/avatar-generator
- sonofgod 8y agoI'd consider changing the random balance on the facial hair -- with six types of facial hair and one without, and (I presume) equal weighting to those seven categories, 6 out of 7 faces come out as people able to grow beards...
- Brushfire 8y agoOur randomize just selects between all the layers and throws them together, so everything has the same weight. We'll take a look and see if there is a straightforward way to change this.
- thegreatpeter 8y agoHey! The tool is open source: https://github.com/draftbit/avatar-generator https://github.com/draftbit/avatar-generator Would love to see you implement something more real-world. Thanks!
- juic8y 8y agoIt's a bit odd of an odd experience clicking through "randomize". I doubt ~85% of the adult population can grow facial hair.
- wild_preference 8y agoCute. I suggest always rendering the little shape preview above each color palette in greyscale. That way the user can still browse shapes even though they have a color selected that's hard to see on a white background.
- Brushfire 8y agoGreat Idea. Thanks.
- a0 8y agoGreat seeing more apps being built in Reason! How was your experience with it?
- thegreatpeter 8y agoHey, coder here. There's a bit of a learning curve and there were moments where I wanted to throw it out the window, but now I can't imagine life without it. Aka, just like learning any other new language, except better.
- cyansmoker 8y agoTake that frustration, increase at least by an order of magnitude and that's your experience implementing native apps. Still Loving it, though!
- dandigangi 8y agoNeat little app!!! I shared on Twitter my beautiful avatar of myself. Like I said to Peter, you're making me very interested in RML! Nice work!!
- thegreatpeter 8y agoGlad to hear that, thanks!!
- geoah 8y agoThis is very cool, the idea behind draftbit sounds really interesting as well. When is the beta out?
- thegreatpeter 8y agoBeta will be out soon! You can sign up for early access at https://draftbit.com https://draftbit.com
- kuwze 8y agoCould you talk more about your experience with Reason? On the fence about it and Clojurescript, Elm and Purescript.