Driftwood Gallery
Driftwood Gallery is an image interaction in the UI HUB image interactions collection. A photo gallery behind a weathered driftwood frame on a sand-grain field. The frame tilts with the pointer (perspective rotate) and the deck bobs on a continuous time-based sine — no index jumps, no per-frame React re-renders (transforms are written straight to the DOM).
The component is driven by 4 documented props (images, intervalMs, waveAmp, showDots), so colours, intensity, timing and density can be tuned from the call site instead of being hard-coded.
Implementation notes: inline styles; PointerEvent via JSX handlers; interval timer with hover pause.
Preview the image interaction in the browser above, copy the source, and paste it into your project. Image Interactions components in UI HUB are grouped by category so you can compare effects side by side before choosing one.