HomeMaterials ScienceEwald Sphere Construction

Ewald Sphere Construction

Interactive 3D Ewald sphere: rotate a crystal's reciprocal lattice inside the sphere of reflection and watch which lattice points satisfy the Bragg diffraction condition k_out - k_in = G in real time.

Materials Science3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
xray-diffraction-crystallography ↗ Open standalone

X-ray crystallography works out which crystal planes diffract using a purely geometric device: the Ewald sphere. This simulator renders the sphere of reflection in 3D alongside a real reciprocal lattice built from the crystal's actual spacing and symmetry (simple cubic, FCC, or BCC, complete with structure-factor extinction rules). Rotate the crystal — by hand or with Auto-Rotate — and watch reciprocal lattice points sweep into and out of contact with the sphere's surface, each contact marking a real diffracted beam exactly as Bragg's law predicts. Live readouts track the sphere radius (set by X-ray wavelength), the count of simultaneously active reflections, and the Miller indices and scattering angle of the reflection nearest the beam.

⚙ Under the hood

Rotate a crystal's reciprocal lattice inside the fixed Ewald sphere and watch which lattice points touch the surface, triggering real X-ray reflections exactly as Bragg's law predicts.

x-ray diffractioncrystallographyreciprocal latticeBragg's lawmaterials science

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)