How this tool works
Visualize common crystal structures and molecular bases in a rotatable, zoomable three-dimensional projection directly in the browser.
Edit lattice constants, angles, fractional atomic coordinates, replication counts, neighbor cutoffs, and display options to turn a preset into a custom material or molecule.
Overlay a Miller plane (hkl) and a crystallographic direction [uvw], select atoms to inspect their coordinates and nearest neighbors, and export unit-cell or supercell geometry.
Core equations
r = x a⃗ + y b⃗ + z c⃗V = a⃗ · (b⃗ × c⃗)ρ = m_cell /(N_A V_cell)Miller plane: hx + ky + lz = 1direction [uvw] = u a⃗ + v b⃗ + w c⃗
Method and assumptions
Construct crystallographic lattice vectors from a, b, c, α, β, and γ.
Convert each fractional basis coordinate to Cartesian position and translate it through the requested supercell replication.
Project the Cartesian geometry through user-controlled rotations and either perspective or orthographic projection.
Infer optional visual bonds from covalent-radius distance thresholds and calculate selected-atom neighbors from the explicit cutoff.
Generate plane and direction overlays from the entered crystallographic integer indices.
Assumptions
- Fractional coordinates are interpreted relative to the entered crystallographic lattice vectors.
- Automatic bonds are inferred from interatomic distance and approximate covalent radii; they are visual aids rather than quantum-mechanical bond-order predictions.
- Density is calculated only when all entered element symbols are present in the built-in atomic-mass table.
- Miller-plane rendering uses the first unit cell and the conventional fractional plane equation hx + ky + lz = 1.