Cubic Crystal Lattices
This Demonstration lets you visualize and explore four different cubic crystal lattices: simple cubic (sc), body-centered cubic (bcc), face-centered cubic (fcc), and the diamond lattice (diam). The cubic cell, primitive unit cell, and additional next-neighbor bonds within the cell ("internal bonds") can be displayed alone or in conjunction with one another. You can click an atom to mark it in a different color. You can rotate the graphic with your mouse to take a closer look at the structure from different angles. This Demonstration puts a particular focus on a fully customizable layout for personal use, education, or illustration: from the default settings to a metallic sheen, candy colors, or a vintage black-and-white look.
When using the marker option (click an atom to change its color), atoms will flip back to their original color if any other settings are changed or if the notebook is closed and restarted. However, if an image with marked atoms is exported in a graphics format, these atoms will remain marked so that the marker can be used to put a visual emphasis on any atom. Copy and paste an image from the animation window into any Mathematica notebook; the atoms will remain clickable even after a kernel restart, provided that dynamic evaluation is enabled.