Skip to main content

Documentation Index

Fetch the complete documentation index at: https://hyperframes-add-three-dissolve.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

3D Dissolve

A cinematic 3D dissolve effect with glowing rings, particle dust, and GPGPU vapor. Point it at any GLTF model — the dissolve adapts to mesh geometry automatically. vfx 3d particles dissolve

Install

npx hyperframes add three-dissolve

Details

PropertyValue
TypeBlock
Dimensions1920 x 1080
Duration8s

Variables

VariableTypeDefaultDescription
modelUrlstringCDN spellbookURL to a GLTF model. Any .gltf or .glb with textures works.
dissolveStartnumber0.8Time (s) when the dissolve begins.
dissolveEndnumber7.1Time (s) when the dissolve completes.
particleColorcolor#1a7affBase color for dissolve particles.
bgColorcolor#05070dScene background color.

Files

FileTargetType
three-dissolve.htmlcompositions/three-dissolve.htmlhyperframes:composition

Swapping the Model

Replace modelUrl with any GLTF model URL. The dissolve effect samples the mesh surface for particle emission, so it adapts to any geometry:
<div
  data-composition-id="three-dissolve"
  data-composition-src="compositions/three-dissolve.html"
  data-start="0"
  data-duration="8"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
  data-variable-values='{"modelUrl":"https://example.com/my-model.gltf","particleColor":"#ff4400"}'
></div>
If using a local model, place it alongside the composition and use a relative path:
data-variable-values='{"modelUrl":"./my-model.gltf"}'

Usage

After installing, add the block to your host composition:
<div
  data-composition-id="three-dissolve"
  data-composition-src="compositions/three-dissolve.html"
  data-start="0"
  data-duration="8"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>