Pointer trail

pointerTrail: where the pointer has been, and how recently, as a field. 1 where it is now, fading to 0 behind it. Cursor heat, comet tails, wipe-to-reveal.

import {pointerTrail} from 'shaders/std'

Types

TypeWhat it is
PointerTrailInputinterface PointerTrailInput extends InputNode { readonly kind: 'pointerTrail' readonly decay: TrailArg readonly radius: TrailArg readonly resolution: number }

Words