The grids are isosurfaces of electron density. Analogous to isolines on a map illustrating mountain terrain height.
Atoms are sticky little fuzzy balls. The fuzz, electron density, falls off exponentially. They don't have an "edge" in a non-fuzzy-object sense. Analogous to a stereotype volcano having an arbitrary perimeter. Where would I place it? Where you need climbing gear? Where biking up gets hard? In the foothills? Somewhere on the sloped plain? You place the perimeter wherever is convenient for what you're trying to use it for. People are usually interested in the densities between sticking atoms, which are several orders of magnitude down from peak density. Analogous to drawing an isoline at "the towering volcano is here high enough to start stubbing your toe on it". The picture draws isosurfaces of electron density at something like "around here one atom would 'bump' another, and you can see bonds" and at "I wrap a single atom only, but still have an interesting shape".
To show the various features of interest, one draws multiple isosurfaces. As with a terrain map. But an exponential electron density scale is harder to represent than linear height scale. And it's hard to clearly draw more than a couple of nested 3D isosurfaces. So instead of placing many iso's at linear steps, here there are just a couple, more like an order of magnitude apart.
Isosurfaces and nonlinear color gradients are educationally problematic. And fuzz gradients are hard to visually stereo fuse. And on near-term AR displays, black is transparent, and background environment colors can't be manipulated, which limits the space of attainable colorizations.
My current thought is to approach it as a volumetric light source. Composed of several linear scales, each a different color, with density as transparency. And respecting their true density when combined, so higher density scales "shine through" lower. We'll see. Maybe overlay random sample "sparkles" to maybe improve sense of spatial extent.
I've not seen much similar work. If you know of any, I'd love to hear of it. Also, it seems there was a push some years back to emphasize electron density when teaching intro chemistry. A push that doesn't seem to have gelled. I've guesses, but I'd value thoughts on why.
Random asides: 1. once you're used to it, the simple isosurface mesh is super easy to work with (i.e. build molecules into), and for structural biologists the broad approximation is perfectly adequate 2. even so, the amount of unexplained blobs - some of which are definitely not noise - in my (xray) electron density maps was always both fascinating and frustrating. that's one reason why we don't spend much time on fancy renderings of experimental density at anything worse than subatomic resolution, because you're just sharpening the features that your atomic model doesn't explain.
> once you're used to it, the simple isosurface mesh is super easy to work with
One wouldn't know it from the state of content, or even of much education research, but educational representation is much harder than professional. Students are unable to untangle features reflecting careful correctness, from artistic license. So both seed mis/conceptions. Professionals can downregulate misconceptions... though that can be surprisingly localized - asking first-tier astronomy graduate students "What color is the Sun?"... gets you a common misconception.
Consider that ball-and-stick wrapped with electron density in Fig 9. Imagine coming at it cold. What is that stick? Well, maybe it's a ridge in electron density, thus symbolizing the surrounding not-so-stick-shaped region of increased density which constitutes a bond. But then what are those balls? They're way too similarly sized to be electron density. Ok, maybe they're spherical crosshairs for nucleus location, and the stick is a linear crosshair for the ridge. Variously sized because... something. Oh, no, some of the sticks are doubled, and density certainly doesn't have two ridges, or (here) increased density. So we've a paper notation that badly misrepresents actual electron distribution, blended into a physical representation with a... my head hurts.
I saw a professional chem ed content discussion yesterday, around a misconception, that in a two-species ionic solid, one atom bonds to another, in pairs. Rather than to "4 to 6" neighboring atoms... because one common printed diagram draws 4 neighbors, and another 6. It was like they were non-scientists, thinking they could wordsmith their way to correctness, without the slightest need to examine the actual characteristics of the real physical systems being described, or to consult with someone deeply familiar with them. The focus remained on models, decoupled from reality. I see a lot of that.
Chemistry education research describes chemistry education content using adjectives like "incoherent". Maybe XR can serve as an excuse to do better?
Even the developers of these visualizations would probably agree that it's dangerous to rely on them too much, and they are only a way to convey specific information in a way our eyes and brain can quickly process. Crystallographers in particular tended to over-rely on those chicken wire views and that plus software limitations yielded a lot of very poor-quality structures with poor atomic packing. The developer of those ribbon diagrams (Jane Richardson) has done a lot of other work to educate the field about how to visualize packing and other molecular properties and avoid screwing up the analysis. Over the long term, I think constant self-criticism makes up for the occasional sloppiness in scientific research.
Consider an illustration of the solar system in some introductory astronomy content. Let say, that not atypically, it misrepresents sizes, positions, orientations, lighting, and Sun color. Thus creating and reinforcing misconceptions known to be a problem in K-12, in undergrad, and even on into astronomy graduate school. In contrast, consider a line representing an Earth-Mars transfer orbit. It seems unlikely that students will say think there's a material long pole there, and worry about it hitting satellites and cities. Students and teachers are both clear on the aphysicality of the line, but not of the Sun color. Hmm, though using a minimum-energy line to represent an energy landscape is a source of misconceptions.
Similarly, common representation of atoms and molecules are known to be causatively associated with the stew of misconceptions that pervade students and teachers of chemistry. Ribbons, perhaps not so much. Hmm, though also similarly, they're often used without indication of regional flexibility, and so perhaps contribute to the underappreciation of configuration landscapes, of the importance of tuned floppiness. Perhaps.
Consider a currently implausible goal, of science education which accessibly describes the physical world, and conveys a transferable understanding of it. Arguably its content would look much more like scientific visualizations than content does at present. But being for education, it faces additional constraints, challenges and tradeoffs, distinct from those of professional scientific visualization. Creating such would require a collaboration of both deep scientific and educational expertise. For which very little incentive exists at present.
I'm trying to come up with an XR-compatible visual representation of electron density, that is physically correct, accessible, and bears in mind patterns of misconceptions in chemistry education. That task should probably be more than one random software dev's lockdown hobby hack. But as far as I know, that's were we're at. The related NSF-funded work I've seen... doing this bit well wasn't their focus. Same with XR ed tech side. Same with chem ed apps. And scientific visualization programs. And chem ed research. There may well be something nice out there, but I've not yet seen it. And big ed side... I was chatting with a leading textbook publisher, which onboards content creators with the indoctrination that their liberal arts background, and complete unfamiliarity with science and tech, is not a problem... because there's "a scientist" on call. Deriving electron density, with current nice python libraries, and GPUs, has surely gotten vastly easier than it was with old fortran messes, but still... it seems something more is needed here. Some societal staffing seems missing. No?
(For the record, there is also something called neutron crystallography, which works like X-ray crystallography except it's the nuclei that diffract, not the electron clouds - which allows you to visualize hydrogen atoms more directly, and even resolve the difference between hydrogen and deuterium. But it's another speciality technique, in part because neutron sources are so much weaker.)
EDIT: since I actually did some work on visualizing electron density maps on the web, here's an interactive view of an older X-ray structure (from 2003, at only 3Å resolution) that shows how a protein molecule fits into the density: http://natechols.github.io/xtal.js/map_viewer.html (click and hold the middle mouse button to pan through the molecule)