Faster Motion recipes overview

Product media placeholder

Replace this area with a screenshot or short walkthrough video during the media sweep.

Recipes should be small, verified, and source-backed. A recipe is not only a visual idea; it includes JSON, mount markup, validation output, and visual proof.

Recipe requirements

  • A recipe needs a .fmtion source fixture, matching HTML/CSS mount, expected debug validation result, and screenshot or video proof.
  • Keep one primary concept per recipe. Combine recipes only after each one passes independently.
  • Name parameters, nodes, selectors, scene IDs, and assets as if a support person will debug them later.

Starter recipe set

  • DOM: scroll fade, staggered text reveal, pointer hover tilt, path progress, responsive gate.
  • Canvas 2D: object timeline, pointer-follow object, state-machine button/card, data-bound visual, asset loading.
  • 3D/procedural: camera orbit, cross-scene texture, procedural field, particle focus, physics body pick.

Publish flow

  • Start every recipe from source schema and node metadata.
  • Run schema validation, runtime validation, and browser screenshot proof.
  • Only insert the recipe into public docs after the sample runs in the public or production-equivalent environment.

Verified runnable examples

This guide points to proof-backed sample coverage. The full ledger lives in Generated examples and proof log.

DOM: Scroll fade reveal

  • Source: faster-motion/demo/tests/dom/catalog/scroll-animations/fade-reveal/fade-reveal.domgraph.fmtion
  • Expected output: Sections fade and translate into place as their trigger elements enter the configured viewport range.
  • Validation: Schema validation passed. Runtime proof reports zero structural/runtime issues and 17 loaded nodes.
  • Desktop proof: generated-assets/faster-motion-docs/proofs/screenshots/dom-fade-reveal-desktop.png
  • Mobile proof: generated-assets/faster-motion-docs/proofs/screenshots/dom-fade-reveal-mobile.png

Canvas: Fill rule diagnostic

  • Source: faster-motion/demo/tests/canvas/fillrule-diagnostic/fillrule-diagnostic.fmtion
  • Expected output: A contained Canvas scene renders paired path cases so nonzero and evenodd fill handling can be compared visually.
  • Validation: Schema validation passed. Runtime proof reports zero blocking runtime issues and 10 rendered objects; the accepted metadata note is preserved in the proof ledger.
  • Desktop proof: generated-assets/faster-motion-docs/proofs/screenshots/canvas-fillrule-diagnostic-desktop.png
  • Mobile proof: generated-assets/faster-motion-docs/proofs/screenshots/canvas-fillrule-diagnostic-mobile.png

Guide-specific sample target: Recipe index sample with five verified starter recipes and their validation artifacts.

Faster Motion docs

Use this local map together with the left navigation. The source-backed content tree controls the main article order; this section keeps related pages one click away.

Start

DOM animation

Canvas animation

3D and procedural

Reference

Was this guide helpful?