# Effects

Every ready-made effect of Diorama by what it animates, with a live preview under the pointer.

## Text

Headings and paragraphs that enter, split and move.

- [assemble](/docs/effects/assemble.md): Thousands of lit particles fly out of the depth around the page and gather into a heading.
- [blinds](/docs/effects/blinds.md): A heading printed across real 3D slats that turn over in a wave, lit and casting shadows, to show it.
- [counter](/docs/effects/counter.md): Stats count up to their value on real 3D mechanics: odometer drums, slot machine reels or flip cards.
- [dust](/docs/effects/dust.md): A heading crumbles into fine sand that lifts off the page and drifts away in depth as it scrolls out, or on a click.
- [emboss](/docs/effects/emboss.md): Letters pressed into or raised out of paper, leather, brushed metal, stone or plaster, lit by a light that follows the pointer.
- [extrude](/docs/effects/extrude.md): A headline becomes a solid 3D block: beveled letters with lit side walls, seen in perspective, that turn toward the pointer.
- [fire](/docs/effects/fire.md): The letters burn: flames rise from their tops, sparks drift up in depth and the firelight flickers on the page.
- [hologram](/docs/effects/hologram.md): A heading becomes a 3D hologram: projected from a glowing emitter, built of slices in depth, crossed by scan lines.
- [inflate](/docs/effects/inflate.md): Letters puff up into round 3D shapes, like balloons or soft clay, that dent and wobble under the pointer.
- [keycaps](/docs/effects/keycaps.md): Each letter sits on a 3D mechanical keycap that presses down as if the word were typed, with a click under the pointer.
- [lens](/docs/effects/lens.md): A glass reading lens follows the pointer over the text, magnifying it through real curved glass.
- [magnet](/docs/effects/magnet.md): Letters become lit 3D slabs that react to the pointer: they push away, turn toward it, rise like a dock or tumble, and spring back.
- [marquee](/docs/effects/marquee.md): An endless ticker of a row of text, logos or images that speeds up and leans as the page scrolls.
- [melt](/docs/effects/melt.md): Letters melt like wet paint, candle wax or liquid metal, running down in glossy drips that stretch, neck and let their drops fall.
- [neon](/docs/effects/neon.md): A heading becomes a 3D neon sign: round glass tubes that stutter on, light the wall and cast a shadow.
- [orbit](/docs/effects/orbit.md): A line of text wraps around a 3D form that turns: a spinning drum, a globe of text, or a tilted ring around a product.
- [physics](/docs/effects/physics.md): Playful gravity type: the letters of a heading become thick lit 3D tiles that fall, bounce, tumble and pile up, can be thrown with the pointer, and stand back up.
- [pins](/docs/effects/pins.md): The text becomes pin art: a field of metal pins around the words with the letters pushed out in relief.
- [prism](/docs/effects/prism.md): Letters become crystal: their edges split a light into a crisp spectrum that slides around them as the light moves.
- [ribbon](/docs/effects/ribbon.md): A headline printed on waving 3D fabric: a flag in the wind, a twisting satin ribbon or slow rippling silk.
- [rotator](/docs/effects/rotator.md): Words take turns in a headline on the faces of a real 3D cube, drum, split flap or folding strip.
- [scramble](/docs/effects/scramble.md): Headings and labels decode into place: each letter cycles through random glyphs before it settles.
- [shatter](/docs/effects/shatter.md): A heading breaks into lit 3D shards that fly apart and tumble, then fly back together: on a click, on scroll, under the pointer or once in view.
- [shimmer](/docs/effects/shimmer.md): A heading becomes polished chrome, gold, holographic foil or clear glass that catches the light as the pointer moves.
- [smoke](/docs/effects/smoke.md): A heading condenses out of drifting volumetric smoke as it comes into view, or dissolves into it as it leaves.
- [split-flap](/docs/effects/split-flap.md): A departure board: each character flips through a drum of letters to its own, on view and whenever the site changes the text.
- [text-glitch](/docs/effects/text-glitch.md): A heading glitches in depth: it breaks into slabs that jump at the viewer, then snaps back flat.
- [text-reveal](/docs/effects/text-reveal.md): Headings rise, slide up, fade, pop or type into place letter by letter, word by word or line by line.
- [tunnel](/docs/effects/tunnel.md): The phrases of a pinned section stand one behind another in real depth, and the scroll flies the camera through them.
- [unfold](/docs/effects/unfold.md): A headline unfolds out of the page like paper: strips, a zig-zag band, letter cards or folded squares open in 3D.
- [video-text](/docs/effects/video-text.md): The letters of a headline become a window onto a video or a photo, while the page shows around them.
- [voxel](/docs/effects/voxel.md): A heading built from small lit 3D cubes that tumble in, bounce into place and settle into the text.
- [water](/docs/effects/water.md): A headline under water: the surface bends the letters, focuses dancing caustics on them and ripples under the pointer.
- [wave](/docs/effects/wave.md): The letters of a heading ride a wave: one pulse when it comes into view, on hover or with the scroll, or an endless float.

## Photo

Single images that react to scroll, the pointer and time.

- [bend](/docs/effects/bend.md): Scroll speed bends the image like paper and splits its color channels.
- [compare](/docs/effects/compare.md): Two pictures in one box, before and after, split by a line you drag, hover or scroll.
- [flare](/docs/effects/flare.md): A lens flare or a glossy light sweep over a photo that follows the pointer or the scroll.
- [frost](/docs/effects/frost.md): Frosted glass over a photo, or over the whole page, that the pointer wipes clear and that slowly fogs back.
- [glitch](/docs/effects/glitch.md): A digital glitch in short bursts: blocks slide sideways, color channels split, scanlines flicker.
- [image](/docs/effects/image.md): Draws the image or video unchanged, as a GL copy that page flights and other effects build on.
- [liquid](/docs/effects/liquid.md): The pointer leaves a fluid trail on a photo that settles back like water.
- [parallax](/docs/effects/parallax.md): The image drifts inside its frame with the pointer and the scroll; with a depth map, in 2.5D.
- [pixelate](/docs/effects/pixelate.md): The image resolves from big pixels to sharp as it scrolls into view, or breaks into pixels on hover.
- [reflection](/docs/effects/reflection.md): A soft reflection on a glossy floor under a product photo, without baking it into the image.
- [reveal](/docs/effects/reveal.md): The image wipes in with a soft noisy edge as it scrolls into view, or fades, opens in bands or from the center.
- [ripple](/docs/effects/ripple.md): Rings spread from the pointer while the image is hovered.
- [spotlight](/docs/effects/spotlight.md): A flashlight over a photo: the image darkens around a soft circle at the pointer.
- [tilt](/docs/effects/tilt.md): A card image tilts toward the pointer in its own perspective, with glare and foil.
- [tone](/docs/effects/tone.md): Photos in brand colors: a duotone or a halftone, with color back on hover.
- [zoom](/docs/effects/zoom.md): Hovering an image shows a sharp, magnified view of it under the pointer.

## Galleries and viewers

Sets of pictures, full-screen views, books and 360° photos.

- [carousel](/docs/effects/carousel.md): Pictures on a 3D ring that turns with a drag, the keys, the page scroll or by itself, the front one enlarged.
- [coverflow](/docs/effects/coverflow.md): A row of covers as the classic cover flow: the middle one faces you, its neighbours turn away in perspective.
- [flipbook](/docs/effects/flipbook.md): The page images of a container become a book whose pages bend as they turn.
- [gallery](/docs/effects/gallery.md): A container of images shows one at a time and changes them with a displacement, a slide, a crossfade or a zoom.
- [hover-preview](/docs/effects/hover-preview.md): Over a list of projects, the picture of the item under the pointer follows the pointer, stands beside the item or holds a fixed place.
- [lightbox](/docs/effects/lightbox.md): A click opens an image full screen: its copy flies out of the grid, pages and zooms.
- [polaroids](/docs/effects/polaroids.md): Photos scattered like prints on a table: drag one to the top, click it to hold it up large.
- [stack](/docs/effects/stack.md): The images of a container become a pile of cards; a swipe, a click or a key throws the top one off.

## Video

Effects around and on top of a playing video.

- [ambient](/docs/effects/ambient.md): A soft glow in the colors of the frame around a video or an image, like ambient mode.
- [chroma](/docs/effects/chroma.md): A video shot on a green or blue screen, played over the page with the screen keyed out.
- [scrub](/docs/effects/scrub.md): A video scrubbed by scroll: its time follows the sticky section it plays in, forward and back.
- [video-hover](/docs/effects/video-hover.md): A thumbnail plays a short muted video preview while the pointer rests on it or its link has keyboard focus.

## Scroll scenes

Pinned sections and sequences scrubbed by the scroll position.

- [curtain](/docs/effects/curtain.md): A cover picture opens from behind a curtain as you scroll: strips slide away, halves part or a liquid edge drains past.
- [expand](/docs/effects/expand.md): The image of a card grows to fill its sticky stage as the section scrolls.
- [horizontal](/docs/effects/horizontal.md): A row of cards on a pinned stage slides sideways as the page scrolls down, its pictures bending with the speed.
- [sequence](/docs/effects/sequence.md): An image sequence scrubbed by scroll, frame by frame, from a poster <img>.
- [zoom-scroll](/docs/effects/zoom-scroll.md): A picture in a pinned section zooms from its box to fill the screen as you scroll.

## 3D and product

Models and products the visitor can turn.

- [book](/docs/effects/book.md): A cover image made a 3D book that turns to show its spine and opens on hover.
- [box](/docs/effects/box.md): A product box built from pictures of its faces: turn it, tilt it, open its lid.
- [coin](/docs/effects/coin.md): A coin, medal or token struck from a logo or a photo: it turns, catches the light and flips over.
- [device](/docs/effects/device.md): A screenshot or a video shown in a 3D phone, tablet, laptop or browser window.
- [explode](/docs/effects/explode.md): An exploded view of a model: its parts move apart as the section scrolls.
- [hotspots](/docs/effects/hotspots.md): Feature callouts pinned to points of a model, real buttons that follow it as it turns.
- [label](/docs/effects/label.md): A flat label wrapped around a can, a bottle or a jar that turns to show all of it.
- [model](/docs/effects/model.md): A glTF model fitted into the element, lit, turnable and recolored from markup.
- [panorama](/docs/effects/panorama.md): A 360° photo in a box that turns by drag, keys and gyroscope, with hotspots.
- [spin](/docs/effects/spin.md): A product turns by drag through a series of photos taken around it.
- [vinyl](/docs/effects/vinyl.md): An album cover becomes a record sleeve: the disc slides out and spins.

## Backgrounds

Living backgrounds behind the content.

- [blobs](/docs/effects/blobs.md): Soft blobs of brand color drifting behind a hero: merging like a lava lamp, as blurred orbs or as glossy glass drops.
- [clouds](/docs/effects/clouds.md): A sky of soft layered clouds for the time of day, daylight, a sunset or a moonlit night, drifting in the wind and parting on scroll.
- [dots](/docs/effects/dots.md): A dot grid behind a hero or in a card that answers the pointer: dots near it grow, move aside or glow, then settle back.
- [gradient](/docs/effects/gradient.md): A living background of four soft color blobs or of aurora curtains, mixed in OKLab, without banding, with a light film grain.
- [grid](/docs/effects/grid.md): A grid floor in perspective running toward the viewer under a glowing horizon: neon synthwave, a blueprint or plain thin lines.
- [stars](/docs/effects/stars.md): A night sky of twinkling stars in depth layers that lean with the pointer and the scroll, with shooting stars and a warp flight.
- [waves](/docs/effects/waves.md): Topographic contour lines or flowing wave lines across a hero or footer, slowly changing and shifted by scroll.

## Blocks and cards

Cards, lists and buttons that answer the pointer.

- [beam](/docs/effects/beam.md): A light beam that runs around the rounded border of a feature card, an input field or a highlight box.
- [glow](/docs/effects/glow.md): A spotlight that follows the pointer over a grid of cards and lights up their borders, as on SaaS and developer tool sites.
- [shine](/docs/effects/shine.md): A glint that sweeps across a button, a card or an image on hover, on a timer or as it comes into view.

## Sound

Sound of a page player made visible.

- [beat](/docs/effects/beat.md): A cover, logo, card or play button that pulses with the music of a page player: it scales, shakes and glows, or sends out rings, on the beat.
- [visualizer](/docs/effects/visualizer.md): The sound of a page player made visible: live bars, a wave, a ring or a waveform.

## Maps and data

Places, routes and numbers drawn in 3D.

- [chart](/docs/effects/chart.md): A plain HTML table or definition list drawn as an animated chart that grows in on scroll.
- [globe](/docs/effects/globe.md): An interactive globe of land dots with markers and arcs for a list of places.
- [graph](/docs/effects/graph.md): A list or a table of links drawn as a network graph: partners, integrations, teams, knowledge maps.
- [heatmap](/docs/effects/heatmap.md): A table drawn as a heatmap: a matrix of rows and columns, or a calendar of days like a contributions chart.
- [map](/docs/effects/map.md): A flat map of the world or a region with markers for a list of places and arcs between them.

## Celebration and particles

Confetti, sparks and showers for moments worth marking.

- [confetti](/docs/effects/confetti.md): A burst of confetti from an element, a shower or fireworks to celebrate a sign-up, an order or a donation.
- [drops](/docs/effects/drops.md): Water drops on glass over a hero or the whole page: rain that beads and runs, or meltwater left by a thaw.
- [emoji](/docs/effects/emoji.md): Emoji or small pictures that float up from a like button, burst out of a success state or rain over a section.
- [snow](/docs/effects/snow.md): Snow, cherry petals or autumn leaves drifting down over a section or the whole page, for a seasonal campaign.
- [sparkles](/docs/effects/sparkles.md): Small twinkling sparkles around a badge, a "new" label, a premium button or a product highlight.
