Home▸Materials Science▸Colloidal Crystal Opal: Structural Color From Self-Assembly

Colloidal Crystal Opal: Structural Color From Self-Assembly

Watch monodisperse colloidal spheres self-assemble from a disordered suspension into an FCC opal lattice, and see the Bragg-diffracted structural color shift live as you tune sphere size, viewing angle and infiltrating medium.

Materials Science3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
Colloidal Crystal Opal: Structural Color From Self-Assembly ↗ Open standalone

Real synthetic opals are grown by letting millions of identical nanospheres pack themselves into a crystal — no mould, no lithography, just entropy and gravity doing the work. This simulator renders a few thousand of those spheres as an InstancedMesh field and lets you scrub an assembly-progress slider that morphs them continuously from a disordered random suspension into an ordered face-centred-cubic opal lattice, while a live Bragg-diffraction readout computes the exact structural-color wavelength the (111) planes would reflect from the sphere diameter, viewing angle and the refractive index of whatever fluid has infiltrated the pores.

⚙ Under the hood

Adjust sphere positions to see structural color change in a self-assembled colloidal crystal opal lattice.

soft mattercolloidsself-assemblyphotonic crystalBragg diffractionopal

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

What did you find?

Add reproduction steps (optional)