physicsviz

Skull ≈ spatial low-pass filter

01

Song

How it works

The song passes through two stacked low-pass filters (−24 dB per octave) plus some overall loss. That's the skull. The Skull slider sets the cutoff. Breach crossfades to a second path with a 12× higher cutoff and no loss. Left panel: the song going in (faint) and coming out (bright), with the filter's gain curve on the right-hand axis. Drag across it to move the cutoff. Right panel: a scrolling spectrogram of what's playing. Drop any audio file on this section to use your own song.

This is an analogy. This filter works on frequency in time; the skull's works on size in space. The skull only removes fast rhythms when they come from small patches that are out of sync with each other, which cortical fast activity usually does. Model 02 shows the difference.

built-in loop
Skull
spectrum
what you hear
02

Cortex → scalp

How it works

A 128 × 128 mm patch of cortex, 1 pixel per mm. It has four kinds of source: broad travelling waves at ~10 Hz; patches about 1.5 cm across at ~6 Hz; 160 tiny patches at 20–38 Hz; and, off to start, one large in-phase 20 Hz wave. Each tiny patch has a positive centre and a negative rim that cancel at a distance, like the opposing walls of a sulcus. Each source waxes and wanes on its own schedule.

Above the cortex sit flat layers of CSF (1.5 mm), bone (40× more resistive than scalp) and scalp. For each spatial wavelength, Laplace's equation is solved exactly through the layers. Voltage is fixed at the cortex, no current escapes into the air, and voltage and current carry across each boundary. That gives the curve in the bottom panel: scalp amplitude as a fraction of cortex amplitude, for each wavelength. It's the skull's EQ. The dots mark each source type's typical wavelength on the bone curve and on the breach curve. The curve depends only on size: tissue conducts the same at every frequency in the EEG range, so how fast a source oscillates never enters the calculation. The 30 Hz patches are hidden because they are small and out of sync with each other. The 20 Hz · wide source (off to start) is fast but large and in phase across the whole patch, like photic driving. It passes through bone as easily as the 10 Hz waves. A breach removes the bone, so the scalp settles onto the CSF.

The scalp map is the cortex run through that filter in 2D, using an FFT. Under bone it uses the bone curve; under the painted breach it uses the breach curve, blended at the edge. E1 and E2 read the scalp through the same filters. Their traces and power spectra are on the right. Paint breach or bone on either map, and drag the electrodes. Scalp sets the soft tissue over everything. At 0 mm, a breach leaves only CSF over the cortex, much like an electrode on the brain surface. Time is slowed down (Speed). Gain scales the scalp map and the traces together.

Paint
Skull
Scalp
Gain
Speed
cortex
scalp
scalp / cortex