One wafer, one lap per mask layer, with the optics computed live
WaferWorks is an isometric fab where every station is one step of patterning a wafer, and one lap of the ring is one mask layer. A blank film goes on at the Film Yard, resist is spun at the Coat Track and baked, the Scanner turns a mask into an image in that resist, the Develop Track turns the image into a physical pattern, and the Etch Bay cuts it into the film underneath. Then the resist is burned off and the wafer comes back round for the next layer. A real logic chip needs sixty to eighty laps.
There is one branch, and it is a real one. Between develop and etch the wafer is inspected; if the pattern is out of spec the resist can be stripped and the wafer sent back to the coater, which is the road cutting across the middle of the ring. Once the pattern is etched that option is gone. The inspection is decided by the model, not by a coin — push the defocus slider far enough and the image genuinely stops printing, the inspection genuinely fails, and the wafer genuinely goes round the spur.
Everything on the carrier is state: one stratum per finished layer, a resist film whose thickness follows the resist control, and after develop the printed grating drawn at the duty cycle the model actually measured. When nothing resolves, the wafer comes out blank.
Genuinely computed, live, in your browser: the aerial image, by Abbe's
method. The mask is Fourier-decomposed into diffraction orders (the coefficients of a
binary grating are exactly duty · sinc(m · duty)); every point in the
illuminator is imaged separately; each order is placed in the pupil at direction cosine
m·λ/pitch offset by the source point, and discarded if it falls outside the
numerical aperture; the survivors are summed as a coherent field and the intensities of
all source points are added. Defocus is a real optical path difference,
z(n − √(n² − α²)), applied per order. Then acid diffusion blurs it, a
threshold develops it, and the linewidth and NILS are measured off the result by
interpolated threshold crossing.
Also computed: Rayleigh resolution and depth of focus; photon energy from Planck and the
shot-noise statistics that follow; the Poisson tail that gives the stochastic failure rate;
Murphy's yield model; overlay and edge placement error as root-sum-square; the exposure
field count, by actually tiling a 300 mm wafer; and dose-limited versus stage-limited
throughput. All of it is in js/model.js.
Nothing enforces the k₁ = 0.25 wall. It is never written down as a rule.
It emerges because below it the ±1 orders physically cannot both fit in the pupil, so the
sum collapses to a flat DC term and there is nothing to develop. The same code reproduces
the partial-coherence limit of k₁ = 0.5/(1+σ) for conventional illumination
without being told about that either. That is the test of whether the optics is real, and
it is the reason this page can be trusted about the interesting part.
Scaled down: a one-dimensional line/space grating rather than a real two-dimensional layout, nine diffraction orders, a 24×24 source grid, 128 image samples, and a handful of mask layers instead of the sixty to eighty a real chip needs.
Assumed: the resist threshold and the acid diffusion length (both are proprietary and resist-specific); the etch bias; the ~3.5 aspect ratio at which lines collapse in the rinse; the split between scanner and process overlay; and every track and etch time in the time-budget panel, which are there for proportion rather than precision.
Calibrated, not derived: the optical transmission to the wafer and the stage overheads are fitted so the throughput reproduces what tool vendors publish — about 160 wafers an hour for EUV at 30 mJ/cm², about 275 for ArF immersion. An EUV beam really does lose almost all its energy on the way to the wafer, across ten-odd multilayer mirrors at roughly 70% each, so a sub-1% figure is the right order; the exact value is a fit. Tool and mask prices are the publicly reported ones, but everything about how a fab amortises them is invented. Treat the cost figure as a ratio between technologies, not a quote.
Not modelled at all: resolution enhancement beyond the shape of the illuminator. There is no optical proximity correction, no sub-resolution assist features, no phase-shift masks, no mask three-dimensional effects, no source-mask co-optimisation. Real advanced layers depend on all of these, and a real 8 nm half-pitch would not print from the bare geometry this model exposes. Treat the fab as an illustration and the optics as the lesson.
The first time the wafer reaches a station it stops for long enough to read that station's write-up — between 9 and 28 seconds, depending on how much there is to say — and a progress bar under the panel text shows how much of the stop is left. Once every station has been explained there is nothing new to read, so later layers run at a watchable pace instead of a readable one. Space holds any stop indefinitely, S steps one station at a time, and the Speed slider scales everything, reading stops included. Reset (⟲) replays the slow tour; Run keeps what you have already read.
Built from the isometric-explainer skill. All code and copy original.