what's actually driving those strands
Direction, everywhere
Every point on screen has an invisible angle, built from two layered sine waves offset in time — cheap enough to evaluate 400 times a frame.
Fade, don't clear
Each frame paints a near-transparent rect instead of clearing — motion becomes the drawing.
Direction is color
Hue maps to heading, so the field's structure reads at a glance — teal flowing one way, violet the other.
Reach in and stir
The pointer becomes a local vortex — particles nearby get pulled into a spiral, then rejoin the current.
Born, drift, fade
Each particle resets after a few seconds so the field never gets crowded.
One effect, whole hero
Ten experiments in, the pattern holds: pick one force, commit to it, let the rest of the page stay quiet.
drag to change how tangled the field gets · low = calm river, high = storm · steers the hero up top too