Shape revealShape reveal
In MOGA öffnen

Komponente

Shape reveal

@moga/transitions · Offiziell von MOGA

Teil des Pakets Transitions

An M3 Expressive shape grows from a point, turning as it swells, until it fills the frame; after the cut a hole in another shape opens from the same point, rounding into a circle, and the new shot shows through. circle and circle is an iris. Place it over the whole frame, on top, centred on the cut between two shots (about 1.2 s: the cut at its middle).

npx motioncn-cli add moga/transitions/shape-reveal

Version 1.1.2MIT94 Downloads0 Favoriten

Aktualisiert am 4. Dezember 2026

In MOGA verwenden

Nur dieses importieren, ohne den Rest des Bundles. Tokens des Bundles, die es nutzt, kommen mit. Im Projektordner ausführen:

npx -y moga hub-import @moga/transitions --items component:shape-reveal

Außerhalb von MOGA verwenden (Motioncn)

Kostenlos, ohne Konto. Es ist normaler Webcode, der in einer Webseite, React, Remotion und HyperFrames läuft und dieselben Frames zeichnet wie MOGA.

Mit shadcn ins Projekt holen

npx shadcn@latest add https://motioncn.dev/r/moga/transitions/shape-reveal.json

Ohne shadcn-Setup geht es auch

npx motioncn-cli add moga/transitions/shape-reveal

Ohne Build in einer Seite importieren

import ShapeReveal from 'https://motioncn.dev/m/moga/transitions/shape-reveal.js';
import preset from 'https://motioncn.dev/m/theme.js';
ShapeReveal.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React, Remotion und HyperFrames

// React (https://motioncn.dev/r/player-react.json)
<Motion motion={ShapeReveal} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={ShapeReveal} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(ShapeReveal.mount(element, { preset, duration: 5 }), { start: 0 });