# Rive CLI — build Rive files with your agent
Demonstrate interaction through works that genuinely change state, with games, controls, design systems and a sequencer each showing one clear action.
```motion-demo
{
"id": "sequence",
"title": "Overall choreography",
"src": "demos/sequence.html",
"duration": 31.266667,
"status": "authored",
"description": "Motion and composition example",
"initialTime": 27,
"params": [
{
"key": "title",
"label": "Sample main copy",
"type": "text",
"value": "Interactive motion",
"maxLength": 60
},
{
"key": "accent",
"label": "Accent color",
"type": "color",
"value": "#55efba"
}
],
"presets": [
{
"label": "Default content",
"values": {
"title": "Interactive motion",
"accent": "#55efba"
}
},
{
"label": "OpenDesign adaptation",
"values": {
"title": "OpenDesign",
"accent": "#7050da"
}
}
]
}
```
## Let viewers see an action before changing works
Give racing forward speed, rhythm games hit feedback, and cards position changes. Let each work occupy its own screen instead of shrinking all into simultaneous tiles.
| Time | Section |
|---|---|
| 0.00–2.00s | Racing menu |
| 2.00–6.00s | Track acceleration |
| 6.00–8.20s | Rhythm game |
| 8.20–13.00s | Playing cards |
| 13.00–15.00s | Glass control |
| 15.00–17.00s | Knob panel |
| 17.00–21.00s | Design system |
| 21.00–25.60s | Editor and flag |
| 25.60–29.50s | Step sequencer |
| 29.50–31.00s | Card game |
| 31.00–31.27s | Black frame |
## Unify different visual languages with a black outer stage
Allow different palettes and fonts while retaining black margins. Keep status figures, selection colors, and results bright enough, preventing dark control bases from swallowing edges.
## Connect sequencer-cell feedback through a scanning line
Fix column width and row spacing, using lit cells for programmed steps and a uniformly moving playhead. Briefly brighten active cells as it passes, leaving empty cells unchanged.
```motion-demo
{
"id": "clip-3",
"title": "Connect sequencer-cell feedback through a scanning line",
"src": "demos/clip-3.html",
"duration": 3.1999999999999993,
"status": "authored",
"description": "25.6–28.8 seconds · Motion example",
"initialTime": 0.6
}
```
## Preserve visible interaction causality when changing examples
Replace with different apps, giving every screen input, state, and feedback. Share outer framing without forcing internal work into one style.
## Color and typography
Compact sans serif game headings and monospaced state figures; works retain their fonts on a pure black outer stage.
#070909 · #eaf1ee · #55efba · #d553a2 · #eac34f · #8b68f5
## Elements and production rules
Race track / rhythm arrow / card column / glass control / knob / editor / step cell
- Demonstrate interaction through works that genuinely change state, with games, controls, design systems and a sequencer each showing one clear action.
- Give racing forward speed, rhythm games hit feedback, and cards position changes. Let each work occupy its own screen instead of shrinking all into simultaneous tiles.
- Allow different palettes and fonts while retaining black margins. Keep status figures, selection colors, and results bright enough, preventing dark control bases from swallowing edges.
## Content replacement
- Replace with different apps, giving every screen input, state, and feedback. Share outer framing without forcing internal work into one style.
## Production parameters
[Visuals and objects](style.json) · [Section timing](timeline.json) · [Position data](tracks.json) · [File manifest](manifest.json)
This specification is based on the reference video. The HTML provides editable choreography examples; each file identifies the source, precision and valid interval of its data.
```motion-board
{
"version": 1,
"brand": "Rive",
"id": "V384",
"palette": [
"#070909",
"#eaf1ee",
"#55efba",
"#d553a2",
"#eac34f",
"#8b68f5"
],
"typography": "Compact sans-serif game headings and monospace status figures; each work keeps its own fonts on a black outer stage",
"sample": "Interactive motion",
"objects": [
"Race track",
"Rhythm arrow",
"Card column",
"Glass control",
"Knob",
"Editor",
"Step cell"
],
"frames": [
{
"path": "assets/reference-1.jpg",
"timeSeconds": 0.0,
"frameId": "K0001",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-2.jpg",
"timeSeconds": 6.0,
"frameId": "K0033",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-3.jpg",
"timeSeconds": 13.0,
"frameId": "K0061",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-4.jpg",
"timeSeconds": 17.0,
"frameId": "K0071",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-5.jpg",
"timeSeconds": 25.566666666666666,
"frameId": "K0103",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-6.jpg",
"timeSeconds": 31.0,
"frameId": "K0125",
"role": "reference-evidence",
"status": "measured"
}
],
"stages": [
{
"start": 0,
"label": "Racing menu",
"end": 2,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 2,
"label": "Track acceleration",
"end": 6,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 6,
"label": "Rhythm game",
"end": 8.2,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 8.2,
"label": "Playing cards",
"end": 13,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 13,
"label": "Glass control",
"end": 15,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 15,
"label": "Knob panel",
"end": 17,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 17,
"label": "Design system",
"end": 21,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 21,
"label": "Editor and flag",
"end": 25.6,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 25.6,
"label": "Step sequencer",
"end": 29.5,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 29.5,
"label": "Card game",
"end": 31,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 31,
"label": "Black frame",
"end": 31.266667,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
}
],
"duration": 31.266667,
"fontFamily": "Arial, sans-serif"
}
```