# API reference

Every attribute, input and export of Diorama, generated from the library sources.

- [@dioramajs/diorama](/docs/api/diorama.md): The site entry: start(), effect() and the re-exports most sites need.
- [@dioramajs/diorama/assets](/docs/api/diorama-assets.md): Exports of @dioramajs/diorama/assets.
- [@dioramajs/diorama/astro](/docs/api/diorama-astro.md): Astro integration that adds the Vite plugin.
- [@dioramajs/diorama/astro/client](/docs/api/diorama-astro-client.md): Exports of @dioramajs/diorama/astro/client.
- [@dioramajs/diorama/audio](/docs/api/diorama-audio.md): Exports of @dioramajs/diorama/audio.
- [@dioramajs/diorama/audio/graph](/docs/api/diorama-audio-graph.md): One audio graph per page, shared by the audio effects and copies of them.
- [@dioramajs/diorama/auto](/docs/api/diorama-auto.md): The no-build entry served from a CDN; it starts on its own.
- [@dioramajs/diorama/backgrounds](/docs/api/diorama-backgrounds.md): Exports of @dioramajs/diorama/backgrounds.
- [@dioramajs/diorama/blocks](/docs/api/diorama-blocks.md): Exports of @dioramajs/diorama/blocks.
- [@dioramajs/diorama/core](/docs/api/diorama-core.md): Exports of @dioramajs/diorama/core.
- [@dioramajs/diorama/data](/docs/api/diorama-data.md): Exports of @dioramajs/diorama/data.
- [@dioramajs/diorama/effects](/docs/api/diorama-effects.md): Exports of @dioramajs/diorama/effects.
- [@dioramajs/diorama/globe](/docs/api/diorama-globe.md): Exports of @dioramajs/diorama/globe.
- [@dioramajs/diorama/glsl](/docs/api/diorama-glsl.md): Exports of @dioramajs/diorama/glsl.
- [@dioramajs/diorama/gsap](/docs/api/diorama-gsap.md): Exports of @dioramajs/diorama/gsap.
- [@dioramajs/diorama/kit](/docs/api/diorama-kit.md): Helpers for your own effects, and the built-in image layer for their children.
- [@dioramajs/diorama/lenis](/docs/api/diorama-lenis.md): Exports of @dioramajs/diorama/lenis.
- [@dioramajs/diorama/media](/docs/api/diorama-media.md): Exports of @dioramajs/diorama/media.
- [@dioramajs/diorama/model](/docs/api/diorama-model.md): Exports of @dioramajs/diorama/model.
- [@dioramajs/diorama/model/rig](/docs/api/diorama-model-rig.md): The placed scene that model publishes to explode, hotspots and their copies.
- [@dioramajs/diorama/next](/docs/api/diorama-next.md): Next.js wrapper that writes the effect registry for webpack and Turbopack.
- [@dioramajs/diorama/nuxt](/docs/api/diorama-nuxt.md): Nuxt module that adds the Vite plugin with the effects folder under srcDir.
- [@dioramajs/diorama/particles](/docs/api/diorama-particles.md): Exports of @dioramajs/diorama/particles.
- [@dioramajs/diorama/quality](/docs/api/diorama-quality.md): Exports of @dioramajs/diorama/quality.
- [@dioramajs/diorama/render](/docs/api/diorama-render.md): Exports of @dioramajs/diorama/render.
- [@dioramajs/diorama/text](/docs/api/diorama-text.md): Exports of @dioramajs/diorama/text.
- [@dioramajs/diorama/transitions](/docs/api/diorama-transitions.md): Exports of @dioramajs/diorama/transitions.
- [@dioramajs/diorama/vite](/docs/api/diorama-vite.md): Vite plugin that turns the effects folder into a lazy registry with types.
- [@dioramajs/effects](/docs/api/effects.md): Effects on DOM elements and their runtime.
- [@dioramajs/core](/docs/api/core.md): App, plugins, signals, frame loop, stage, scroll and pointer.
- [@dioramajs/assets](/docs/api/assets.md): Asset loading, cache and preload.
- [@dioramajs/assets/three](/docs/api/assets-three.md): Loaders for glTF with Draco, Meshopt and KTX2.
- [@dioramajs/audio](/docs/api/audio.md): Exports of @dioramajs/audio.
- [@dioramajs/audio/beat](/docs/api/audio-beat.md): Exports of @dioramajs/audio/beat.
- [@dioramajs/audio/graph](/docs/api/audio-graph.md): One audio graph per page: one AudioContext and one source per media element.
- [@dioramajs/audio/visualizer](/docs/api/audio-visualizer.md): Exports of @dioramajs/audio/visualizer.
- [@dioramajs/backgrounds](/docs/api/backgrounds.md): Exports of @dioramajs/backgrounds.
- [@dioramajs/backgrounds/blobs](/docs/api/backgrounds-blobs.md): Exports of @dioramajs/backgrounds/blobs.
- [@dioramajs/backgrounds/clouds](/docs/api/backgrounds-clouds.md): Exports of @dioramajs/backgrounds/clouds.
- [@dioramajs/backgrounds/dots](/docs/api/backgrounds-dots.md): Exports of @dioramajs/backgrounds/dots.
- [@dioramajs/backgrounds/gradient](/docs/api/backgrounds-gradient.md): Exports of @dioramajs/backgrounds/gradient.
- [@dioramajs/backgrounds/grid](/docs/api/backgrounds-grid.md): Exports of @dioramajs/backgrounds/grid.
- [@dioramajs/backgrounds/stars](/docs/api/backgrounds-stars.md): Exports of @dioramajs/backgrounds/stars.
- [@dioramajs/backgrounds/waves](/docs/api/backgrounds-waves.md): Exports of @dioramajs/backgrounds/waves.
- [@dioramajs/blocks](/docs/api/blocks.md): Exports of @dioramajs/blocks.
- [@dioramajs/blocks/beam](/docs/api/blocks-beam.md): Exports of @dioramajs/blocks/beam.
- [@dioramajs/blocks/glow](/docs/api/blocks-glow.md): Exports of @dioramajs/blocks/glow.
- [@dioramajs/blocks/shine](/docs/api/blocks-shine.md): Exports of @dioramajs/blocks/shine.
- [@dioramajs/data](/docs/api/data.md): Exports of @dioramajs/data.
- [@dioramajs/data/chart](/docs/api/data-chart.md): Exports of @dioramajs/data/chart.
- [@dioramajs/data/graph](/docs/api/data-graph.md): Exports of @dioramajs/data/graph.
- [@dioramajs/data/heatmap](/docs/api/data-heatmap.md): Exports of @dioramajs/data/heatmap.
- [@dioramajs/data/map](/docs/api/data-map.md): Exports of @dioramajs/data/map.
- [@dioramajs/effects/effect](/docs/api/effects-effect.md): effect() and defineEffect() without the rest of the effects package.
- [@dioramajs/effects/kit](/docs/api/effects-kit.md): Helpers for effect modules and site effects, loaded in lazy chunks only.
- [@dioramajs/effects/testing](/docs/api/effects-testing.md): Test helpers for effects: a GPU stand-in and probe().
- [@dioramajs/globe](/docs/api/globe.md): Exports of @dioramajs/globe.
- [@dioramajs/globe/globe](/docs/api/globe-globe.md): Exports of @dioramajs/globe/globe.
- [@dioramajs/globe/land](/docs/api/globe-land.md): Exports of @dioramajs/globe/land.
- [@dioramajs/glsl](/docs/api/glsl.md): Converted GLSL stages as effects, without the transpiler.
- [@dioramajs/glsl/convert](/docs/api/glsl-convert.md): GLSL to TSL at build time, in Node.
- [@dioramajs/glsl/entries](/docs/api/glsl-entries.md): A folder of shader entries as an effect registry.
- [@dioramajs/glsl/loader](/docs/api/glsl-loader.md): webpack 5 and Turbopack loader for .frag files.
- [@dioramajs/glsl/vite](/docs/api/glsl-vite.md): Vite plugin that turns .frag files into effects.
- [@dioramajs/gsap](/docs/api/gsap.md): GSAP and ScrollTrigger on the Diorama frame.
- [@dioramajs/lenis](/docs/api/lenis.md): Lenis smooth scroll on the Diorama frame.
- [@dioramajs/media](/docs/api/media.md): Image effects: image, ripple, bend.
- [@dioramajs/media/ambient](/docs/api/media-ambient.md): Exports of @dioramajs/media/ambient.
- [@dioramajs/media/carousel](/docs/api/media-carousel.md): Exports of @dioramajs/media/carousel.
- [@dioramajs/media/chroma](/docs/api/media-chroma.md): Exports of @dioramajs/media/chroma.
- [@dioramajs/media/compare](/docs/api/media-compare.md): Exports of @dioramajs/media/compare.
- [@dioramajs/media/coverflow](/docs/api/media-coverflow.md): Exports of @dioramajs/media/coverflow.
- [@dioramajs/media/curtain](/docs/api/media-curtain.md): Exports of @dioramajs/media/curtain.
- [@dioramajs/media/expand](/docs/api/media-expand.md): Exports of @dioramajs/media/expand.
- [@dioramajs/media/flare](/docs/api/media-flare.md): Exports of @dioramajs/media/flare.
- [@dioramajs/media/flipbook](/docs/api/media-flipbook.md): Exports of @dioramajs/media/flipbook.
- [@dioramajs/media/frost](/docs/api/media-frost.md): Exports of @dioramajs/media/frost.
- [@dioramajs/media/gallery](/docs/api/media-gallery.md): Exports of @dioramajs/media/gallery.
- [@dioramajs/media/glitch](/docs/api/media-glitch.md): Exports of @dioramajs/media/glitch.
- [@dioramajs/media/horizontal](/docs/api/media-horizontal.md): Exports of @dioramajs/media/horizontal.
- [@dioramajs/media/hover-preview](/docs/api/media-hover-preview.md): Exports of @dioramajs/media/hover-preview.
- [@dioramajs/media/intro](/docs/api/media-intro.md): Exports of @dioramajs/media/intro.
- [@dioramajs/media/lightbox](/docs/api/media-lightbox.md): Exports of @dioramajs/media/lightbox.
- [@dioramajs/media/liquid](/docs/api/media-liquid.md): Exports of @dioramajs/media/liquid.
- [@dioramajs/media/panorama](/docs/api/media-panorama.md): Exports of @dioramajs/media/panorama.
- [@dioramajs/media/parallax](/docs/api/media-parallax.md): Exports of @dioramajs/media/parallax.
- [@dioramajs/media/pixelate](/docs/api/media-pixelate.md): Exports of @dioramajs/media/pixelate.
- [@dioramajs/media/polaroids](/docs/api/media-polaroids.md): Exports of @dioramajs/media/polaroids.
- [@dioramajs/media/reflection](/docs/api/media-reflection.md): Exports of @dioramajs/media/reflection.
- [@dioramajs/media/reveal](/docs/api/media-reveal.md): Exports of @dioramajs/media/reveal.
- [@dioramajs/media/scrub](/docs/api/media-scrub.md): Exports of @dioramajs/media/scrub.
- [@dioramajs/media/sequence](/docs/api/media-sequence.md): Exports of @dioramajs/media/sequence.
- [@dioramajs/media/spin](/docs/api/media-spin.md): Exports of @dioramajs/media/spin.
- [@dioramajs/media/spotlight](/docs/api/media-spotlight.md): Exports of @dioramajs/media/spotlight.
- [@dioramajs/media/stack](/docs/api/media-stack.md): Exports of @dioramajs/media/stack.
- [@dioramajs/media/tilt](/docs/api/media-tilt.md): Exports of @dioramajs/media/tilt.
- [@dioramajs/media/tone](/docs/api/media-tone.md): Exports of @dioramajs/media/tone.
- [@dioramajs/media/video-hover](/docs/api/media-video-hover.md): Exports of @dioramajs/media/video-hover.
- [@dioramajs/media/zoom](/docs/api/media-zoom.md): Exports of @dioramajs/media/zoom.
- [@dioramajs/media/zoom-scroll](/docs/api/media-zoom-scroll.md): Exports of @dioramajs/media/zoom-scroll.
- [@dioramajs/model](/docs/api/model.md): Exports of @dioramajs/model.
- [@dioramajs/model/book](/docs/api/model-book.md): Exports of @dioramajs/model/book.
- [@dioramajs/model/box](/docs/api/model-box.md): Exports of @dioramajs/model/box.
- [@dioramajs/model/coin](/docs/api/model-coin.md): Exports of @dioramajs/model/coin.
- [@dioramajs/model/device](/docs/api/model-device.md): Exports of @dioramajs/model/device.
- [@dioramajs/model/explode](/docs/api/model-explode.md): Exports of @dioramajs/model/explode.
- [@dioramajs/model/hotspots](/docs/api/model-hotspots.md): Exports of @dioramajs/model/hotspots.
- [@dioramajs/model/label](/docs/api/model-label.md): Exports of @dioramajs/model/label.
- [@dioramajs/model/model](/docs/api/model-model.md): Exports of @dioramajs/model/model.
- [@dioramajs/model/rig](/docs/api/model-rig.md): How model shares its placed scene with the effects that work on it.
- [@dioramajs/model/vinyl](/docs/api/model-vinyl.md): Exports of @dioramajs/model/vinyl.
- [@dioramajs/particles](/docs/api/particles.md): Exports of @dioramajs/particles.
- [@dioramajs/particles/confetti](/docs/api/particles-confetti.md): Exports of @dioramajs/particles/confetti.
- [@dioramajs/particles/drops](/docs/api/particles-drops.md): Exports of @dioramajs/particles/drops.
- [@dioramajs/particles/emoji](/docs/api/particles-emoji.md): Exports of @dioramajs/particles/emoji.
- [@dioramajs/particles/snow](/docs/api/particles-snow.md): Exports of @dioramajs/particles/snow.
- [@dioramajs/particles/sparkles](/docs/api/particles-sparkles.md): Exports of @dioramajs/particles/sparkles.
- [@dioramajs/quality](/docs/api/quality.md): Exports of @dioramajs/quality.
- [@dioramajs/render](/docs/api/render.md): WebGPU renderer with the WebGL 2 fallback.
- [@dioramajs/text](/docs/api/text.md): Exports of @dioramajs/text.
- [@dioramajs/text/assemble](/docs/api/text-assemble.md): Exports of @dioramajs/text/assemble.
- [@dioramajs/text/blinds](/docs/api/text-blinds.md): Exports of @dioramajs/text/blinds.
- [@dioramajs/text/counter](/docs/api/text-counter.md): Exports of @dioramajs/text/counter.
- [@dioramajs/text/dust](/docs/api/text-dust.md): Exports of @dioramajs/text/dust.
- [@dioramajs/text/emboss](/docs/api/text-emboss.md): Exports of @dioramajs/text/emboss.
- [@dioramajs/text/extrude](/docs/api/text-extrude.md): Exports of @dioramajs/text/extrude.
- [@dioramajs/text/fire](/docs/api/text-fire.md): Exports of @dioramajs/text/fire.
- [@dioramajs/text/hologram](/docs/api/text-hologram.md): Exports of @dioramajs/text/hologram.
- [@dioramajs/text/inflate](/docs/api/text-inflate.md): Exports of @dioramajs/text/inflate.
- [@dioramajs/text/intro](/docs/api/text-intro.md): Exports of @dioramajs/text/intro.
- [@dioramajs/text/keycaps](/docs/api/text-keycaps.md): Exports of @dioramajs/text/keycaps.
- [@dioramajs/text/lens](/docs/api/text-lens.md): Exports of @dioramajs/text/lens.
- [@dioramajs/text/magnet](/docs/api/text-magnet.md): Exports of @dioramajs/text/magnet.
- [@dioramajs/text/marquee](/docs/api/text-marquee.md): Exports of @dioramajs/text/marquee.
- [@dioramajs/text/melt](/docs/api/text-melt.md): Exports of @dioramajs/text/melt.
- [@dioramajs/text/neon](/docs/api/text-neon.md): Exports of @dioramajs/text/neon.
- [@dioramajs/text/orbit](/docs/api/text-orbit.md): Exports of @dioramajs/text/orbit.
- [@dioramajs/text/physics](/docs/api/text-physics.md): Exports of @dioramajs/text/physics.
- [@dioramajs/text/pins](/docs/api/text-pins.md): Exports of @dioramajs/text/pins.
- [@dioramajs/text/prism](/docs/api/text-prism.md): Exports of @dioramajs/text/prism.
- [@dioramajs/text/ribbon](/docs/api/text-ribbon.md): Exports of @dioramajs/text/ribbon.
- [@dioramajs/text/rotator](/docs/api/text-rotator.md): Exports of @dioramajs/text/rotator.
- [@dioramajs/text/scramble](/docs/api/text-scramble.md): Exports of @dioramajs/text/scramble.
- [@dioramajs/text/shatter](/docs/api/text-shatter.md): Exports of @dioramajs/text/shatter.
- [@dioramajs/text/shimmer](/docs/api/text-shimmer.md): Exports of @dioramajs/text/shimmer.
- [@dioramajs/text/smoke](/docs/api/text-smoke.md): Exports of @dioramajs/text/smoke.
- [@dioramajs/text/split-flap](/docs/api/text-split-flap.md): Exports of @dioramajs/text/split-flap.
- [@dioramajs/text/text-glitch](/docs/api/text-text-glitch.md): Exports of @dioramajs/text/text-glitch.
- [@dioramajs/text/text-reveal](/docs/api/text-text-reveal.md): Exports of @dioramajs/text/text-reveal.
- [@dioramajs/text/tunnel](/docs/api/text-tunnel.md): Exports of @dioramajs/text/tunnel.
- [@dioramajs/text/unfold](/docs/api/text-unfold.md): Exports of @dioramajs/text/unfold.
- [@dioramajs/text/video-text](/docs/api/text-video-text.md): Exports of @dioramajs/text/video-text.
- [@dioramajs/text/voxel](/docs/api/text-voxel.md): Exports of @dioramajs/text/voxel.
- [@dioramajs/text/water](/docs/api/text-water.md): Exports of @dioramajs/text/water.
- [@dioramajs/text/wave](/docs/api/text-wave.md): Exports of @dioramajs/text/wave.
- [@dioramajs/transitions](/docs/api/transitions.md): Page transitions and flights of keyed elements.
- [@dioramajs/transitions/cover](/docs/api/transitions-cover.md): Exports of @dioramajs/transitions/cover.
