Looks
A look is chosen when a recording renders, not when it’s recorded, so you can change it any time. Options layer: the command line over the recording’s own options, over your saved defaults, over Rolling’s.
Rendering
rolling render calc --frame 3 --background brass --radius 18 --output look.png # one frame, fast
rolling render calc --background wallpaper --background-blur 0.02 --aspect 1:1
rolling render --save-defaults --background ink --padding 0.06 # every render's start
Presets
A preset is a named look. Built in: studio, launch (sunset, zoom on
clicks), minimal, square, vertical and raw.
A recording that names a preset keeps only its own changes on top of it, so editing the preset
later changes every recording that uses it.
rolling preset list # names and what each sets; --json for agents
rolling preset save talk --background ocean --padding 0.1 --auto-zoom
rolling preset save talk --from calc # the look a recording renders with
rolling preset apply talk calc napdock # recordings follow it
rolling render calc --preset vertical # one export
Shader backgrounds
A shader is a small Metal function Rolling runs for every pixel of every frame, at that frame’s
time, so the background moves while the window sits on it. Rendering again gives the same video.
Four come built in: drift, waves, halftone and
contours. Each costs a few milliseconds per 1080p frame.
rolling shader list
rolling shader new glow --from drift # ~/.rolling/shaders/glow.metal, to edit
rolling shader check glow --png glow.png --time 4
rolling render calc --background shader:glow
// What it is, in one line (the studio and `shader list` show it).
float4 background(float2 uv, float2 size, float time) {
// uv: (0, 0) top left to (1, 1) bottom right; size: the video in pixels;
// time: seconds into the video. Return (r, g, b, 1), each 0 to 1.
float v = 0.5 + 0.5 * sin(uv.x * 6.0 + time) * cos(uv.y * 4.0 - time * 0.7);
return float4(mix(float3(0.10, 0.10, 0.30), float3(0.50, 0.20, 0.60), v), 1.0);
}
rolling::hash, rolling::noise and rolling::fbm are there to
use. A shader that doesn’t compile shows its errors, with line numbers, and renders as
dark until it is fixed.
Every option
In a script’s render, a preset’s file, or as flags on rolling render.
Controls shows where each one is in the studio.
| Option | Flag | Default |
|---|---|---|
background | --background PRESET|#hex|#a,#b,#c|shader:NAME|wallpaper|PATH|none | dark |
backgroundAngle | --background-angle 135 | gradient direction, as in CSS |
backgroundBlur | --background-blur 0.02 | pictures and wallpaper |
backgroundDim | --background-dim 0.2 | darkens the background |
aspect | --aspect 16:9|4:3|1:1|9:16|21:9|window | 16:9 |
size | --size 3840x2160 | 2160 tall for Retina windows, else 1080 |
padding | --padding 0.075 | a fraction of the short side |
radius | --radius 14 | the window’s own corners |
shadow | --no-shadow, --shadow-opacity 0.62, --shadow-size 0.022 | on |
autoZoom | --auto-zoom / --no-auto-zoom | on live, off for scripts |
zoomScale | --zoom-scale 1.8 | |
cutIdle | --cut-idle 1.5 | 1.5 live, 0 for scripts |
cursor | --no-cursor, --cursor-scale 1.25 | on |
clicks, keys | --no-clicks, --no-keys | on |
smoothCursor | --no-smooth-cursor | on |
hideIndicator | --no-hide-indicator | on: covers macOS’s purple sharing pill |
titleBar | --no-title-bar | on |
captions, narration | --no-captions, --no-narration | on |
captionFont, captionWeight | --caption-font NAME, --caption-weight W | system, semibold |
captionSize | --caption-size 1.4 | 1, from 0.5 to 2 |
captionColor, captionHighlight | --caption-color HEX, --caption-highlight HEX | #ffffff, #ffd64a |
captionUpcoming | --caption-upcoming 0.62 | how much words to come show |
captionPlate, captionPlateOpacity | --caption-plate HEX, --caption-plate-opacity X | #121217 at 0.82 |
captionPosition | --caption-position top|bottom | bottom |
fps, codec, quality | --fps 60, --codec hevc|h264, --quality 0.08 | |
preset | --preset launch | a named look |
output | --output demo.mp4 | in the recording’s folder |
Backgrounds: dark, light, slate, sand, ink, midnight, ember, brass, sunset, rose, grape, aurora, ocean, cobalt, mint and forest.