Nothing

Place and time nested sequences

Move or slip a clip and calculate its picture and sound sample across nested clocks.

Read as Markdown

A sequence places one source on a parent timeline. Use href for audio, video, or a separate scene. Omit href and author drawable children for a local compound clip. A placement has begin, positive dur, and source-start. Place it in the parent with begin, trim its visible interval with dur, and slip its content with source-start. Resolve relative paths from the file containing that placement. Sequence syntax and clocks

Compute the source address

At parent time t, check that begin ≤ t < begin + dur. If active, compute:

source-time = source-start + (t - begin)

Apply the same calculation again at the next nesting level. A property on the placement itself, such as its transform or gain, samples the parent clock. Its filter and mask also sample that clock. The picture and audio inside the clip sample the mapped source clock. Convert f addresses using the authored rate of the scene that declares them. A referenced scene uses its own rate, and an inline sequence inherits the containing scene’s rate. Use seconds for source-start.

In the moving-card scene, two placements start together at frame 0 and show the same child scene. At frame 24 in the 24 fps parent, the left placement reads child time 1s and the right reads child time 2s. Changing only the right source-start from 1s to 1.25s advances its stripe six child units. The right placement’s own translation and its window remain at the values sampled for parent frame 24. Both placements become inactive at frame 72. Moving-card observations

Predict a nested mix

Consider a compound clip beginning at shot time 4s with dur="6s" and source-start="0s". Inside it, a voice starts at child time 2s with dur="3s" and source-start="10s".

Shot sampleCompound clip source timeVoice source sample
6s2s10s, the inclusive start
7s3s11s
9s5sSilence, the exclusive end

On aligned sample grids with matching channel layouts, sum active source samples per channel after applying each placement’s gain. Two coincident samples of 0.75 at gain 1 yield 1.5 inside a compound clip. The clip’s own gain of 0.5 then contributes 0.75 to its parent. Picture transforms, masks and opacity leave audio unchanged. Audio sampling and mixing

A picture request with a placement needs an explicit time, including at the opening. The SVG preview can sample inline and linked .nothing pictures. Use a media-capable host such as N4 for footage and audio. Preview coverage · N4 CLI

Examples

Download the complete .nothing source · Source on GitHub

Rendered with ncf-preview at 320 × 200.

Bound resources

Two masked windows show different times of the same picture. A progress line is halfway revealed beneath the caption Status READY.
Frame 12 · Distinct in-pointsTwo masked windows show different times of the same picture. A progress line is halfway revealed beneath the caption Status READY.
The left and right panels show source frames 24 and 48. The word WAIT appears in green and the progress stripe reaches the bend’s upper tip.
Frame 24 · Full progress stripeThe left and right panels show source frames 24 and 48. The word WAIT appears in green and the progress stripe reaches the bend’s upper tip.
XML source
      <sequence href="./card-picture.nothing" begin="0f" dur="72f" source-start="1s" translate-x="16" translate-y="16">
        <animate attributeName="translate-x" fill="freeze">
          <key frame="0" value="16" ease="linear"/>
          <key frame="24" value="4"/>
        </animate>
      </sequence>

On this page