Halftone Wave Hero
- group .........
- Hero sections
- source ........
- https://ui.aryank.space/components/halftone-wave-hero
- markdown ......
- /lab/halftone-wave-hero.md
- human .........
- /lab/halftone-wave-hero
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A hero built around a travelling waveform of halftone dot columns: a sine envelope stretches each column until the palette reads at full saturation, then collapses it so the multiply blend drives the whole stack to black at the node. The pointer parts the wave and swells the dots, and an opening sweep unpacks it left to right.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* The black is subtractive, not painted
Every column holds the same dots in the same palette order. Where the envelope collapses, those dots land on each other and the multiply blend takes the stack to near-black. Nothing in the code names that color, which is why the approach into it reads as a run of muddy darks instead of a swap.
* Half a cycle across the frame
One sine at half a cycle puts a single node on screen with its antinode in the right third and the previous peak off the left edge. The whole composition, moderate left shoulder and broad right swell, falls out of where that node happens to sit, so no separate bias is needed. Drifting the phase walks the node across without any keyframes.
* A sixth of overlap, and no more
Rows sit about 1.7 radii apart, so neighbours overlap by roughly a sixth: enough of each dot is left uncovered for its color to read at full strength, while the joins darken into seams. Columns sit slightly further apart than a dot is wide, leaving a hairline of paper so the dots stay countable. Push the row pitch under one radius and every dot is multiplied by three neighbours at once, which turns the swell to mud.
* The pointer parts the wave
One gaussian of pointer influence drives both hover responses, so the column that opens widest is also the one whose dots swell most. Because the lift blends toward full spread, it bites hardest inside a node, where there is the most black to prise open.