Fluid Reveal Carousel

group .........
Sliders and carousels

── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────

A rebuild of the hidden hero block on bleibtgleich.dev, where two mechanics are stacked into one. Underneath, cards orbit a ring seen edge-on: each card owns a progress value and one cycle advances every card exactly one slot, released in ring order so the turn travels as a wave rather than a rigid rotation, while distance from the front drives scale, blur, brightness, and paint order together. The ring also precesses once per spin period as every card counter-rotates, keeping artwork upright while its orbit plane turns. Over the top sits a WebGL2 cover holding one half-float field: red carries density, green and blue carry velocity. The pointer splats both, the field self-advects and diffuses through an fbm-warped sample, and the display pass maps density to alpha through a smoothstep only a hundredth wide, so the cover is solid where the field is cold and punches to nothing where the cursor has stirred it. The carousel is invisible until you wipe it into view, and the hole closes behind you. Interpolated splats keep a fast cursor from dotting the trail, a phantom pointer drifts while the real one is away, and the cover color is read back off the canvas so a CSS variable or theme swap keeps working. No dependencies.

── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────

  • * The carousel is the payload, the cover is the interface

    Nothing about the ring is hidden by opacity or a clip path. It renders at full strength underneath, and a WebGL canvas painted the page color sits on top. What you are moving is not a spotlight, it is a hole: the field the cursor stirs becomes alpha, so the cover is punched out where you have been and closes back as the density decays.

  • * One texture holds the whole simulation

    Red carries density, green and blue carry velocity, in a single half-float ping-pong pair. Three passes run it: splat writes the pointer in, the field pass self-advects and diffuses through an fbm-warped sample, and the cover pass reads only red. That is why the edge stays organic without a blur filter anywhere.

  • * A smoothstep a hundredth wide

    Alpha maps density through smoothstep(0.39, 0.40), a window so narrow the cover is effectively binary. Widen the gap and the hole gains a soft airbrushed halo; keep it tight and the rim reads as torn paper. It is the single most expressive number in the component.

  • * The ring travels as a wave

    A cycle advances every card exactly one slot, but cards are released in ring order from the front, staggered by three percent of the duration. The ring never rotates rigidly, it ripples. Distance from the front then drives scale, blur, brightness, and z-index off one value, so the back of the ring collapses into a small dark smudge instead of overlapping the front card.

  • * Precession, not rotation

    The ring container turns a full circle every spin period while each card counter-rotates by the same angle. Card centers sweep around a tilting orbit while the artwork itself never tips, which is what keeps a flat edge-on ring from reading as a plain horizontal slider.

  • * Never blank, never stale

    A phantom pointer drifts on two incommensurate frequencies once the real one has been still, so a preview is never a solid rectangle. Leaving the block wipes the field and paints one solid frame, so a paused component cannot freeze a hole in the cover.