<sequence>
Place referenced media or inline artwork on a parent timeline.
Examples
Download the complete .nothing source · Source on GitHub
Rendered with ncf-preview at 320 × 200.
Bound resources
- fixtures/fonts/PT_Serif/PTSerif-Bold.ttf for
PT Serif@700 - fixtures/fonts/PT_Serif/PTSerif-Regular.ttf for
PT Serif@400 - ncf/examples/card-picture.nothing


<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>A sequence places one source for a bounded interval and maps its local time independently. Placement tracks, mask and filter use the parent clock. Its contents use mapped source time.
Syntax
Slip a nested picture while preserving its parent cut
At parent frame 24, the right placement is one second into the cut and samples its source at two seconds. Change the source start from 1s to 1.25s and the stripe advances from x = 272 to 278 without moving the cut.
<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>Complete .nothing source · Sample checks
Usage context
Allowed parents are <scene>, <group>, <sequence>, <shape>.
The spatial trial also allows <plane>.
Inherits from Drawable.
When href is present, omit inline drawables. A backdrop filter requires an explicit mask. Locator kinds are mutually exclusive, with u and v counting as a single kind. An exact second value uses an integer, decimal, or integer fraction with a positive denominator.
Attributes
translate-x
Value parent units · If omitted 0 · Keys Scalar · Declared by Transform
Horizontal translation.
translate-y
Value parent units · If omitted 0 · Keys Scalar · Declared by Transform
Vertical translation.
pivot-x
Value local units · If omitted 0 · Keys Scalar · Declared by Transform
Horizontal coordinate of the transform pivot.
pivot-y
Value local units · If omitted 0 · Keys Scalar · Declared by Transform
Vertical coordinate of the transform pivot.
scale-x
Value factor · If omitted 1 · Keys Scalar · Declared by Transform
Local horizontal scale. Negative values reflect the axis.
scale-y
Value factor · If omitted 1 · Keys Scalar · Declared by Transform
Local vertical scale. Negative values reflect the axis.
skew-x
Value degrees · If omitted 0 · Keys Scalar · Declared by Transform
Horizontal shear angle, strictly between −90 and 90.
rotate
Value degrees · If omitted 0 · Keys Scalar · Declared by Transform
Rotation about the drawable pivot, clockwise in default scene coordinates.
u
Value fraction of host width · Keys Scalar · Declared by Locator
Horizontal share measured from the left of the host bounds. Values outside [0, 1] select a point outside those bounds. A track requires an authored base. Omission leaves this axis at the parent origin.
v
Value fraction of host height · Keys Scalar · Declared by Locator
Vertical share measured from the top of the host bounds. Values outside [0, 1] select a point outside those bounds. A track requires an authored base. Omission leaves this axis at the parent origin.
along
Value fraction of contour length · Keys Scalar · Declared by Locator
Share of the directed contour length. Open contours use [0, 1]. Closed contours wrap across laps. A track requires an authored base.
vertex
Value vertex index · Keys Scalar · Declared by Locator
Zero-based vertex and fractional distance along its following segment. Open contours with n vertices admit [0, n − 1]. Closed contours wrap every n vertices. A track requires an authored base.
orient
Value none, auto · If omitted none · Keys Held · Declared by Locator
Facing relative to the host contour. Auto facing requires along or vertex.
opacity
Value fraction · If omitted 1 · Keys Scalar · Declared by Blending
Opacity from 0 to 1, applied once to the completed visual result.
blend-mode
Value normal, multiply, screen · If omitted normal · Keys Held · Declared by Blending
Blend the assembled drawable into its enclosing paint scope.
begin
Value Integer frames with f, or exact seconds with s · Required · Keys Static
Start on the placement's parent clock. Resolve frame counts at the enclosing scene's authored rate.
dur
Value Integer frames with f, or exact seconds with s · Required · Keys Static
Positive duration on the parent clock. The sequence is inactive at its end boundary.
source-start
Value Exact seconds with s · Required · Keys Static
Source instant at the placement's beginning. Seconds can be an integer, decimal, or integer fraction.
href
Value Asset reference relative to the declaring document · Keys Static
Optional referenced audio, footage or scene. Omit for inline content.
gain
Value linear amplitude factor · If omitted 1 · Keys Scalar
Nonnegative per-channel gain before mixing into the parent. One leaves amplitude unchanged. Audio sampling and mixing
Children
| Elements | Cardinality | Declared by | Role and source order |
|---|---|---|---|
<shape>, <group>, <sequence> | Zero or more | <sequence> | Inline source drawables, allowed only without href. Document paint order. Resolve these children on the mapped source clock. |
<filter> | Optional, at most one | Drawable effects | Source-image operations on the assembled drawable. Independent of its position among siblings. |
<backdrop-filter> | Optional, at most one | Drawable effects | Blur the accumulated picture at this drawable's paint position. Independent of its position among siblings. Backdrop blur |
<mask> | Optional, at most one | Drawable effects | Coverage from one source shape. Independent of its position among siblings. Mask sources |
<animate> | Zero or more | Animation | A track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. Evaluating animation tracks |