HomeMaterials ScienceMetasurface Phased Array — Grating Lobes vs Generalized Snell's Law

Metasurface Phased Array — Grating Lobes vs Generalized Snell's Law

A 2D Huygens-wavelet wave simulation of a metasurface: watch the interference of every meta-atom's re-radiated wavelet build the anomalously-steered beam, and see the array-factor far-field diffraction pattern reveal grating lobes the pure ray picture never shows.

Materials Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-metamaterials-basics ↗ Open standalone

The 3D version of this simulator draws the metasurface's anomalous beam as a single Fermat-principle ray. This 2D counterpart computes it from scratch a different way: every meta-atom is a genuine Huygens point source, and the near-field panel sums all of their cylindrical wavelets pixel by pixel, so the steered beam you see is real constructive interference, not a scripted arrow. The far-field strip goes further, evaluating the exact closed-form array factor of a uniform phased array and revealing something the ray picture can't show at all — grating lobes, spurious extra beams that appear whenever the element pitch isn't small compared to the wavelength. Tune the pitch toward one wavelength to watch a second, unwanted beam peel away from the intended one, exactly the sampling trade-off real metasurface designers have to manage.

⚙ Under the hood

A 2D Huygens-wavelet wave simulation of a metasurface: watch every meta-atom's re-radiated wavelet interfere into the anomalously-steered beam, then read the exact array-factor far-field pattern to see grating lobes the ray-optics 3D version never shows.

metasurfacephased-arraygeneralized-snells-lawgrating-lobeshuygens-principlenanophotonicsfar-field-diffraction

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)