Zum Hauptinhalt springen
Call-to-Action

Live-Ausgabe der echten Render-Engine — ändere die Einstellungen und sie aktualisiert sich sofort.

App-Endkarte

motion design

Ein Handy-Umriss zeichnet sich, ein Blitz springt hinein und die beiden Store-Buttons steigen unter der Überschrift auf.

Ideal für: Zuschauer zum App-Download schicken.

Einstellungen

Schrift
Theme
Größe
Stimmung

In einem Film verwenden

Gemacht fürEndkarteLaunch
Was du ändern kannst:titlesupportstores
Für Entwickler (MCP und JSON)

Das ist genau die Szene für create_animation (MCP): Struktur behalten, Worte ändern und den Sprechertext schreiben — die Stimme bestimmt, wie lange die Szene dauert. Mit set_data in update_storyboard einfügen, um einen fertigen Film zu ändern.

{
  "visual": "motion",
  "heading": "Get the app",
  "narration": "Write the sentence the voice says over this scene; its length is the scene's.",
  "data": {
    "motion": {
      "spec": {
        "version": 1,
        "name": "Get the app",
        "intent": "send the viewer to the app stores",
        "camera": "pushIn",
        "exit": "mirror",
        "params": [
          {
            "name": "title",
            "type": "text",
            "label": "Title",
            "default": "Your projects, in your pocket",
            "maxLength": 32
          },
          {
            "name": "support",
            "type": "text",
            "label": "Support line",
            "default": "Free on iPhone and Android",
            "maxLength": 32
          },
          {
            "name": "stores",
            "type": "list",
            "items": "text",
            "label": "Buttons",
            "min": 2,
            "max": 2,
            "default": [
              "iPhone",
              "Android"
            ]
          }
        ],
        "layers": [
          {
            "id": "phone",
            "kind": "shape",
            "shape": "rect",
            "fill": "none",
            "stroke": "c1",
            "strokeWidth": "bold",
            "radius": "lg",
            "box": {
              "col": 0.4,
              "row": 0.2,
              "cols": 3.8,
              "rows": 11.6
            },
            "tall": {
              "col": 3.4,
              "row": 0.1,
              "cols": 5.2,
              "rows": 4.8
            },
            "enter": {
              "primitive": "drawOn",
              "ease": "power4Out",
              "duration": "slow"
            }
          },
          {
            "id": "glyph",
            "kind": "icon",
            "icon": "bolt",
            "color": "c2",
            "box": {
              "col": 1.3,
              "row": 4.2,
              "cols": 2,
              "rows": 3.6
            },
            "tall": {
              "col": 4.8,
              "row": 1.4,
              "cols": 2.4,
              "rows": 2.2
            },
            "enter": {
              "primitive": "scaleIn",
              "order": 1
            }
          },
          {
            "id": "title",
            "kind": "text",
            "text": "{{title}}",
            "role": "display",
            "align": "start",
            "maxLines": 3,
            "box": {
              "col": 5,
              "row": 0.2,
              "cols": 7,
              "rows": 5.6
            },
            "tall": {
              "col": 0,
              "row": 5.3,
              "cols": 12,
              "rows": 3
            },
            "enter": {
              "primitive": "fadeUp",
              "order": 1
            }
          },
          {
            "id": "support",
            "kind": "text",
            "text": "{{support}}",
            "role": "headline",
            "color": "sub",
            "align": "start",
            "maxLines": 2,
            "box": {
              "col": 5,
              "row": 6.1,
              "cols": 7,
              "rows": 2.2
            },
            "tall": {
              "col": 0,
              "row": 8.5,
              "cols": 12,
              "rows": 1.1
            },
            "enter": {
              "primitive": "fadeUp",
              "order": 2
            }
          },
          {
            "id": "badge",
            "kind": "shape",
            "shape": "rect",
            "fill": "c1",
            "radius": "pill",
            "elevation": 2,
            "repeat": {
              "param": "stores",
              "flow": "row",
              "gap": "md"
            },
            "box": {
              "col": 5,
              "row": 8.8,
              "cols": 7,
              "rows": 2.6
            },
            "tall": {
              "col": 2,
              "row": 9.9,
              "cols": 8,
              "rows": 2
            },
            "enter": {
              "primitive": "fadeUp",
              "order": 3
            }
          },
          {
            "id": "store",
            "kind": "text",
            "text": "{{item}}",
            "role": "title",
            "color": "onBrand",
            "align": "center",
            "maxLines": 1,
            "repeat": {
              "param": "stores",
              "flow": "row",
              "gap": "md"
            },
            "box": {
              "col": 5,
              "row": 8.8,
              "cols": 7,
              "rows": 2.6
            },
            "tall": {
              "col": 2,
              "row": 9.9,
              "cols": 8,
              "rows": 2
            },
            "enter": {
              "primitive": "fadeUp",
              "order": 3
            }
          }
        ]
      },
      "name": "Get the app"
    }
  }
}

Wiederverwenden: data.motion.spec einmal mit save_motion_spec speichern (geprüft wie mit validate_motion_spec), dann kann jede Szene das Visual „motion“ mit data.motion.specId und eigenen Parametern nutzen. Name der Spec: „Get the app“.

Weitere Call-to-Action-Animationen