Vector paths and compositing
Keep path geometry editable, blend layers and lanes, use alpha mattes or erasers within a controlled layer group, key out backgrounds and export with transparency.
Structured vector points support straight lines and Bézier handles. Compositing changes how a layer's alpha affects lower siblings inside the same parent.
Experimental album cover
Editable vector geometry, overlapping color fields and local layer compositing in a still composition.

Editable path
<div id="wave" data-jc-clip data-jc-kind="shape" data-jc-name="Wave"
data-jc-start="0" data-jc-duration="1" data-jc-track="3"
data-jc-vector-closed="true"
data-jc-vector-fill="#ff9418"
data-jc-vector-stroke="#ffffff"
data-jc-vector-stroke-width="4"
data-jc-vector-points="[{"id":"a","x":20,"y":180,"curve":true,"controlOut":{"x":120,"y":20}},{"id":"b","x":420,"y":180,"curve":true,"controlIn":{"x":300,"y":340}}]">
</div>Alpha roles
<div id="local-composition" data-jc-clip data-jc-kind="group" ...>
<img id="photo" data-jc-clip data-jc-kind="image" ... />
<div id="cutout" data-jc-clip data-jc-kind="shape"
data-jc-composite="erase" ...></div>
</div>data-jc-composite="erase"removes lower sibling pixels using source alpha.data-jc-composite="matte"keeps lower sibling pixels using source alpha.
The compositing layer itself is not painted into the output. Opaque pixels have full effect; gradients produce proportional transparency. Put the affected layers and the matte in one group when unrelated background layers must stay untouched.
Blend modes
A blend mode mixes a layer's colours with everything drawn below it. A layer stores its mode as the CSS
mix-blend-mode style; JsonCut offers eight of them:
| Mode | What it does | Typical use |
|---|---|---|
multiply | Darkens; white disappears | Overprint, ink, paper textures, shadows |
darken | Keeps the darker colour of layer and background | Dark marks over light footage |
screen | Lightens; black disappears | Light leaks, flares, bokeh, grain drawn on black |
lighten | Keeps the lighter colour of layer and background | Highlights over dark footage |
overlay | More contrast: lights lighter, darks darker | Textures, tints |
soft-light | A gentle overlay | Subtle textures and colour washes |
difference | Inverts where the layer is light | Graphic text over footage |
color | The layer's colour at the brightness below | Duotone, tinting footage |
<div id="leak" data-jc-clip data-jc-kind="custom" ...
style="left:0;top:0;width:1080px;height:1920px;mix-blend-mode:screen"></div>A whole lane can blend too: tracks["3"].blendMode = "screen" gives every layer on lane 3 without its own mode that
mode, which makes an overlay lane for leaks and grain. A layer's own mode wins; an explicit normal opts it out.
A group passes its layers' modes through to everything below while it rests, like Photoshop's pass-through;
while it moves or fades, or with data-jc-isolate="true" (Studio: Isolate blending, MCP: isolate: true), it
blends them among themselves first. Set a mode on the group itself to blend the whole group.
Where nothing lies below (a transparent PNG or WebP), the layer is exported as it is.
In Studio, Compositing → Blend previews each mode while the pointer rests on it and sets it for all selected
layers; the lane menu in the timeline sets a lane's mode. From MCP, use blendMode on patch_clip and the add_*
tools, and update_canvas with lanes: {"3": {"blendMode": "screen"}}. The quality report measures blended text by
the colour it really shows and warns with BLEND_INVISIBLE when a mode makes a solid layer disappear.
Remove a background without AI
data-jc-key keys out the background of an image or video layer, live in the preview and in the export. It holds JSON:
<video id="presenter" data-jc-clip data-jc-kind="video" ...
data-jc-key='{"color":"#00b140","tolerance":40,"softness":20,"spill":50}'
src="jsoncut-media://media_presenter"></video>| Field | Meaning |
|---|---|
mode | color (default), luma or difference |
color, colors | color mode: the #rrggbb colour to remove, plus up to three more samples for an unevenly lit screen |
luma | luma mode: remove dark (default) or light areas |
plate | difference mode: a still of the empty background (jsoncut-media:// reference or URL) |
tolerance, softness | 0 to 100 (defaults 40 and 20) |
spill | color mode only: 0 to 100, removes the key colour's cast on the edges (default 50) |
choke | 0 to 10 px: shrinks the kept area to drop a coloured fringe (default 0) |
In Studio, Remove background on a picture or video layer writes the same attribute. From MCP, patch a layer with key or the chromaKey shortcut (a colour, dark or light).
Transparent output
Images keep transparency in PNG and WebP; a project with canvasBackground: "transparent" renders transparent by default, while JPG and PDF cannot. A video keeps a transparent background only on request: set transparent: true with MOV (ProRes 4444) or WebM (VP9). The canvas colour is then left out, so only your layers remain; full-size background layers still cover it. Transparent video renders are slower and the files are much larger. In Studio the export dialog shows Transparent background for these formats.