← Projects · Oct 2026

Etalon

An experiment in photonic simulation on your own GPU: FDTD for waveguides, bends and resonators, with every CUDA kernel checked against a NumPy reference and no design data leaving your machine.

Etalon simulates passive photonic devices, such as waveguides, bends, couplers and ring resonators, with the finite-difference time-domain (FDTD) method, on one NVIDIA GPU on your own desk. You describe the device in Python, and Etalon Studio, a local web app in English and Simplified Chinese, shows the setup, the run and the fields. There is no cloud and no telemetry, so design data never leaves the machine.

Correctness is the point. Every CUDA kernel has a NumPy reference it must match, and on the first milestone, a 2D solver, the two agree bit for bit in single and double precision. The measured phase velocity stays within 1.3 × 10⁻⁴ of the Yee dispersion relation, the absorbing boundary reflects at −91 dB, and a 2000 × 2000 grid runs at 2.9 × 10⁹ cell updates a second on an RTX 4060 Ti. A benchmark harness compares it with Meep on five reference devices.

I built it alone in October 2026, as an experiment in how far one consumer GPU and strict numerical checks can go. It is 2D only for now: 3D, a mode solver and S-parameters are not there yet.