6 ms·
Avogadr.io – Molecular Wallpaper Generator
- pitaj 9y agoThat's pretty neat. I think a couple improvements would be: - Some kind of feedback over whether the compound name is valid or not - Validation on the SMILES input - Whether it's working on building the picture or not - Autocomplete for the compound name - Different colors for each element - Preset color pallettes - List of "cool-looking" or "most often used" compounds
- deleted 9y ago[deleted]
- lambdacasserole 9y agoSome great suggestions here, really appreciate you taking the time to list them out!
- AdamJacobMuller 9y agoNice Service! Would also suggest adding the ability to set the size of the rendered image. Especially for picking sizes for devices. Also, if you want to make some pocket change from this, link it to cafepress and let me self-print molecules on a bunch of things (stickers!).
- Bromskloss 9y agoAnd perhaps call it "image generator" rather than "wallpaper generator". I thought it was going to do something special that was suited specifically suited for a wallpaper.
- pg_is_a_butt 9y agoit's broken. why do people post broken shit. you're all idiots.
- erichdongubler 9y agoThis poor site is now experiencing the HN hug of death...
- overcast 9y agoI'm curious as to what type of hardware these sites that can't handle HN traffic are running on? I've had a project go front page before, and it was nothing a $10 droplet couldn't handle. A few hundred concurrent users is nothing for a webserver/database.
- progval 9y agoIt also depends on what one runs on it. This website seems to dynamically generate images (3D, maybe?), and send them to clients.
- overcast 9y agoI'll give to this one in particular, but blogs have had the same effect. It's bizarre when commodity hardware is so powerful these days.
- eesmith 9y agoIt's a 2D monochromatic PNG of the chemical drawing. The body's style links to the background image URL like 'https://www.avogadr.io/api/name/1440/900/38ce5d/caffeine' https://www.avogadr.io/api/name/1440/900/38ce5d/caffeine' or 'https://www.avogadr.io/api/name/1440/900/38ce5d/LSD' https://www.avogadr.io/api/name/1440/900/38ce5d/LSD'. Does making a chemical drawing usually take that much time?
- MarcScott 9y agoI had 10000 concurrent users on a front page blog post once. I think time of day had a big effect.
- overcast 9y agoWhat day/time did you achieve 10,000 concurrent?
- supernumerary 9y agohttps://www.avogadr.io/?background=5f0000&foreground=ce3838&compound=mdma https://www.avogadr.io/?background=5f0000&foreground=ce3838&...
- supernumerary 9y agohttps://www.avogadr.io/?background=0176ff&foreground=38ce72&compound=psilocybin https://www.avogadr.io/?background=0176ff&foreground=38ce72&...
- tom_wilde 9y agooO that's so awesome!
- supernumerary 9y agoStress Test: https://www.avogadr.io/?background=0176ff&foreground=38ce72&compound=Maitotoxin https://www.avogadr.io/?background=0176ff&foreground=38ce72&...
- grzm 9y agoAnyone have the SMILE representation of their genome?
- unkown-unknowns 9y agohttps://www.avogadr.io/?background=005f2f&foreground=00ff04&compound=LSD https://www.avogadr.io/?background=005f2f&foreground=00ff04&...
- lambdacasserole 9y agoHere's a few famous molecules if people are interested: Caffeine: https://avogadr.io/?background=3C2923&foreground=E5B273&compound=caffeine https://avogadr.io/?background=3C2923&foreground=E5B273&comp... Wintergreen: https://avogadr.io/?background=1E5454&foreground=D6DCC2&compound=Methyl2-hydroxybenzoate https://avogadr.io/?background=1E5454&foreground=D6DCC2&comp... Codeine: https://avogadr.io/?background=350D30&foreground=D0ACE2&compound=codeine https://avogadr.io/?background=350D30&foreground=D0ACE2&comp... Acetone: https://avogadr.io/?background=A03129&foreground=FF9800&compound=acetone https://avogadr.io/?background=A03129&foreground=FF9800&comp... THC: https://avogadr.io/?background=113617&foreground=A6BC74&compound=thc https://avogadr.io/?background=113617&foreground=A6BC74&comp... Oxytocin (large molecule): https://avogadr.io/?background=3a0000&foreground=ffc7c7&compound=Oxytocin https://avogadr.io/?background=3a0000&foreground=ffc7c7&comp... Ethanol: https://avogadr.io/?background=4B98BC&foreground=D7E5FF&compound=ethanol https://avogadr.io/?background=4B98BC&foreground=D7E5FF&comp...
- NTripleOne 9y agoSince you mentioned it, THC and tetrahydrocannabinol are the same... but different. I don't know enough about these kinds of diagrams to know what the differences are - but surely they should be the same?
- gilleain 9y agoIt looks like "THC" and "tetrahydrocannabinol" resolve to different isomers. One has wedges (stereo information) and they have different double bond positions (the double lines). The problem here is naming compounds - a name like "THC" is not precise enough to distinguish between these isomers. A more exact name could be "(–)-trans-Δ⁹-tetrahydrocannabinol" (from wikipedia).
- NTripleOne 9y agoAh, interesting - thanks. I'll be honest chemistry never really was my strong point (I much preferred the more practical aspect of physics in school) - I try to pick up what I can from creators such as codyslab, nilered, nurdrage, etc, but I guess my attention to it falls in the "interesting but not interested" category, for lack of a better term.
- dna_polymerase 9y agoNice! I love the visualization for dihydrogen monoxide.
- glandium 9y agoThat's really scary stuff. http://www.dhmo.org/facts.html http://www.dhmo.org/facts.html /s
- ackermann-m-n 9y agohttps://www.avogadr.io/?background=5f0000&foreground=ce3838&smiles=CCN(CC)C(%3DO)%5BC%40H%5D1CN(%5BC%40%40H%5D2Cc3c%5BnH%5Dc4c3c(ccc4)C2%3DC1)C https://www.avogadr.io/?background=5f0000&foreground=ce3838&...
- DonHopkins 9y agoPCP looks as evil as it really is. The one drug that everything the government tells you about it is true. https://www.youtube.com/watch?v=tFUvmZWf4hI https://www.youtube.com/watch?v=tFUvmZWf4hI
- plaguuuuuu 9y agowhy does "caffeine" look different to "caffiene"? (I wanted to see how it would handle typos)
- zdkl 9y ago-iene suffix denotes the presence of a particular kind of electronic bond within the molecule, with different properties to typical electron bonds.
- pdm55 9y agoAny source for SMILES of molecules? My methane is crazy. https://www.avogadr.io/?background=5f0000&foreground=ce3838&smiles=CH4 https://www.avogadr.io/?background=5f0000&foreground=ce3838&...
- grzm 9y agoWhile I can't explain your result (does this give another meaning to metal umlauts? Edit: Phosphorus isn't a metal :/), it looks like canonical SMILES representation for methane is C (not CH4 as one might naïvely expect, as I did): https://pubchem.ncbi.nlm.nih.gov/compound/297#section=Canonical-SMILES https://pubchem.ncbi.nlm.nih.gov/compound/297#section=Canoni... https://www.avogadr.io/?background=5f0000&foreground=ce3838&smiles=C https://www.avogadr.io/?background=5f0000&foreground=ce3838&...
- jagger27 9y agoNotice it says BaCKUP. I think it's just a placeholder.
- grzm 9y agoNice. I didn't notice that.
- pdm55 9y agoThanks. Yes, methane is simply C. Also, I found this: https://cactus.nci.nih.gov/chemical/structure https://cactus.nci.nih.gov/chemical/structure which can convert a chemical name to SMILES notation. The Wikipedia entry for SMILES has lots of links to software utilities at the end of the article: https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system https://en.wikipedia.org/wiki/Simplified_molecular-input_lin...
- howderek 9y agoThis is super cool! However, I notice that the generated PNG isn't high enough resolution for Retina or other High-DPI displays. It would be great if this gave the option to export different sizes.
- comencan 9y agoNice! I love the visualization for Crystal Meth.
- tuyguntn 9y agohttps://www.avogadr.io/?background=5f0000&foreground=ce3838&compound=Olympiadane https://www.avogadr.io/?background=5f0000&foreground=ce3838&... https://www.avogadr.io/?background=5f0000&foreground=ce3838&compound=Uranocene https://www.avogadr.io/?background=5f0000&foreground=ce3838&... https://www.avogadr.io/?background=5f0000&foreground=ce3838&compound=Gossypol https://www.avogadr.io/?background=5f0000&foreground=ce3838&...
- column 9y agohttps://en.wikipedia.org/wiki/List_of_chemical_compounds_with_unusual_names https://en.wikipedia.org/wiki/List_of_chemical_compounds_wit...
- kwhitefoot 9y agoInteresting. But it lacks a lot of simple compounds. For instance it doesn't recognize ethyne or acetylene only ethylene. These are all different names for the same thing but ethyne is the systematic name. Similarly it recognizes propane and propene but not propyne, but does recognize methyl ethylene. This is a bit odd because all of those names are regular constructions that indicate the composition in formally defined ways. Still fun though!