HomeMaterials Science2D Photonic Crystal FDTD Wave Propagation

2D Photonic Crystal: Real-Space FDTD Wave Propagation

A real 2D finite-difference time-domain (FDTD) Maxwell solver: watch a TM plane wave actually propagate through a square lattice of dielectric rods in real space, decaying evanescently inside the photonic bandgap and transmitting freely outside it.

Materials Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-photonic-crystal-bandgap-engineering ↗ Open standalone

A photonic bandgap blocks certain light frequencies from propagating through a periodic dielectric structure no matter the direction of travel — but *why* that happens is easiest to see by actually watching a wave hit the crystal. This simulator runs a full 2D finite-difference time-domain (FDTD) solver for Maxwell's equations directly in real space: a TM-polarized plane wave is injected on one side of a slab of dielectric rods and marched forward step by step on a staggered Yee grid, with the true dielectric map (not a Fourier approximation) determining how each grid cell responds. Tune the rod radius and the index contrast between rods and background, then dial the source frequency across the gap to watch the field either sail through the lattice or die out evanescently a few rows in — and use the spectrum scan to trace the transmission dip directly from real time-domain propagation data, independently of any eigenvalue calculation.

⚙ Under the hood

A real 2D finite-difference time-domain (FDTD) Maxwell solver: watch a TM plane wave actually propagate through a square lattice of dielectric rods in real space, decaying evanescently inside the photonic bandgap and transmitting freely outside it, with a spectrum scan that traces the gap from real time-domain data.

photonic crystalFDTDMaxwell equationsbandgapwave propagationoptics

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

What did you find?

Add reproduction steps (optional)