rolling: record real app windows as polished demo videos, driven by a script or an agent. USAGE rolling run [--out DIR | --name NAME] [--no-render] Plays a script against the app while recording, then renders demo.mp4. rolling record --app NAME [--window TITLE] [--size WxH] [--for SECONDS] [--out DIR | --name NAME] [--fps N] [--codec hevc|prores] [--capture window|app] [--no-render] [--max SECONDS] [--idle-stop SECONDS] Records while you or another agent drive the app. Stops after --for, on Ctrl-C, on `rolling stop`, or by itself (see `rolling settings`; --max SECONDS and --idle-stop SECONDS override it once): at its limit, with nothing happening, when the screen stays locked, the Mac sleeps, the window closes, or the disk nears full. What it recorded is kept and rendered. --ignore-space (also on run and render) skips the free-space checks; it still stops at 256 MB free so the Mac stays usable. A recording goes in the save folder as NAME (or the app's name and the time), or exactly at --out DIR, anywhere. rolling stop Stops the running recording and waits for its render. rolling status [--json] Whether something is recording, for how long, its size and when it stops by itself; and the space free for recordings. rolling settings [--json] rolling settings set max-length MINUTES | idle-stop MINUTES | lock-stop on|off | keep-free GB rolling settings reset When live recordings stop by themselves, for the studio, the command line and agents alike: at max-length (30), after idle-stop minutes with nothing happening (10; 0 never), when the screen stays locked (on), and before the disk is down to keep-free GB (1). rolling recover [NAME] Puts back recordings cut off by a crash, a kill or a power cut, up to their last few seconds (all of them in the save folder, or NAME). rolling mark zoom [--scale 2] [--for SECONDS] [--x X --y Y [--track [--box POINTS]]] rolling mark marker NAME Marks the running recording: a zoom on the cursor (or X,Y) now, or a named marker. --track follows whatever is at X,Y as it moves. rolling track NAME --at SECONDS --x X --y Y [--for 6] [--scale 2.2] [--box 80] rolling track NAME --clear Adds a zoom to a recording that follows what is at X,Y (window points) at that moment as it moves (found in the video frame by frame), or removes them. Render again to see it. rolling render [DIR] [render options] Renders a recorded session again, with new options. The master is untouched. rolling windows Lists the windows that can be recorded. rolling elements --app NAME [--window TITLE] Lists the labelled elements in a window, with their positions, for writing scripts. rolling check Checks, and asks for, the Screen Recording and Accessibility permissions. rolling render [DIR] --frame SECONDS [--output FILE.png] [render options] Renders one frame to a PNG, to check a look quickly. rolling render --save-defaults [render options] Saves render options as the defaults every render starts from (`--save-defaults --preset NAME` makes a preset everyone's start). NARRATION (Kokoro text to speech on the Neural Engine; captions with word timing) rolling voice list | get The voices (af_heart is the default; a/b American/British, f/m), and downloads the speech models once (about 240 MB). rolling voice say TEXT [--voice NAME] [--pace X] [--out FILE.m4a] Says it, printing how fast and when each word is said. rolling say NAME --at SECONDS TEXT [--voice NAME] [--pace X] Narrates a recording after the fact; --clear takes its narration out. rolling say NAME --revoice [--voice NAME] [--pace X] Says all its narration again in another voice or pace; a line the one before now runs into waits for it. rolling mark say TEXT [--voice NAME] Narrates the live recording from now, after any line still being said. rolling sync NAME [render options] [--preview [--stills DIR]] Finds each line in the render's audio (and ffmpeg's decode) and checks it against the timeline, with the .srt and .vtt; --preview checks the studio's player instead, each caption word lit as it is heard, and --stills saves its frame in the middle of each caption. A script step {"say": "...", "voice": "bm_george", "pace": 1.1} narrates there (made before recording starts); the next step waits until it has been said, plus "narrationTail" (0.35 s), unless "overlap": true. One voice at a time: a line that would talk over another is refused or queued. Renders mix the speech in and burn in captions, the word being said lit, and write .srt and .vtt beside them. RECORDINGS (only folders Rolling recorded; NAME is one in the save folder, or a path) rolling list [--json] [--folder DIR] The recordings in the save folder, newest first. rolling rename NAME NEW_NAME rolling delete NAME... Moves recordings to the Trash (never one recording now). rolling folder [set DIR | reset | open] Prints the save folder (~/Documents/Rolling until changed), sets it, puts it back to ~/Documents/Rolling, or shows it in Finder. PRESETS (named looks; every render, run and record takes --preset NAME) rolling preset list [--json] Every preset, built in and saved, with what it sets. rolling preset show NAME The preset's options as JSON (the keys a script's "render" takes). rolling preset save NAME [render options] [--from DIR] [--base PRESET] Saves a preset, replacing one of that name: the options given, over a recording's look (--from) or another preset (--base). rolling preset set NAME [render options] Changes only the options given in a preset, keeping the rest. rolling preset delete NAME Deletes a saved preset (a built-in comes back as it was). rolling preset apply NAME DIR... Makes recordings use a preset from now on: the preset replaces what each recording set itself for the same options. SHADERS (moving backgrounds: --background shader:NAME) rolling shader list [--json] Every shader, the built-in starters and those in ~/.rolling/shaders. rolling shader show NAME Prints a shader's source, to read or start from. rolling shader new NAME [--from SHADER] Writes ~/.rolling/shaders/NAME.metal to edit: a short template, or a copy of another shader. It holds one Metal function, float4 background(float2 uv, float2 size, float time) uv runs (0,0) top left to (1,1) bottom right, size is the video's size in pixels, time is seconds into the video; it returns the pixel's (r, g, b, 1). rolling::hash, rolling::noise and rolling::fbm take a float2. rolling shader check NAME|FILE.metal [--png FILE] [--time SECONDS] [--size WxH] Compiles it and draws a frame, printing any errors with their line, and with --png saves that frame to look at. rolling shader folder [open] Prints (or shows in Finder) where shaders are saved. rolling studio [DIR] Opens the settings window: pick a background and layout, preview, render. RENDER OPTIONS --background PRESET|#rrggbb|#a,#b,#c|shader:NAME|wallpaper|/path/to/picture|none presets: dark light ink brass sunset ocean mint grape rose forest slate aurora --background-angle DEG gradient direction, like CSS (135) --background-blur F blur a picture, fraction of the short side (0) --background-dim F darken the background, 0 to 1 (0) --aspect 16:9|4:3|1:1|9:16|21:9|window --size WxH output size (short side 2160 for Retina, else 1080) --padding F space around the window, fraction of the short side (0.075) --radius POINTS window corner radius (the window's own by default) --shadow-opacity F --shadow-size F --auto-zoom / --no-auto-zoom zoom in on bursts of clicks --zoom-scale S how far auto zoom goes in (1.8) --cut-idle SECONDS shorten pauses longer than this (0 keeps them) --cursor-scale S cursor size (1.25) --no-cursor --no-clicks --no-keys --no-shadow --no-smooth-cursor --no-hide-indicator --no-title-bar --no-captions leave the narration's captions out (.srt and .vtt are still written) --no-narration leave the narration's audio out --caption-font NAME system, rounded, serif, mono, or an installed family --caption-weight W regular, medium, semibold (default), bold, heavy --caption-size X times the default size, 0.5 to 2 --caption-color HEX words said (#ffffff); --caption-highlight HEX the word being said (#ffd64a); --caption-upcoming X how much words to come show, 0 to 1 (0.62) --caption-plate HEX the plate behind them (#121217); --caption-plate-opacity X, 0 outlines the words --caption-position P bottom (default) or top --fps N --codec hevc|h264 --quality BITS_PER_PIXEL --output FILE --preset NAME a named look; the options above override it