Colloidal sphere (InstancedMesh) Assembly cell boundary
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Colloidal Crystal Opal: Structural Color From Self-Assembly

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.