FUSION · FULL ARTICLE
Lines
Lines generates one or more sets of repeating lines. First and Last define the pattern’s endpoint sets; Options controls their count and overlap. Motion uses parameter keys independently of Global In/Out.
Overview
Lines is a Krokodove procedural generator for grids, technical backgrounds, dashes and animated graphics. Its key distinction is straightforward: Spacing controls separation between lines, while Dot Spacing controls segment repetition along each line.
First and Last do not mean the first and last frames of the clip. They refer to the first and last line sets inside the pattern. Additional sets provide intermediate states between them; the historical author manual confirms that meaning, while Inspector captures establish current labels.
Global In/Out defines the generator’s active range. The PNG shows frames 0–119, a total of 120 frames. Changing that range does not create an animation between First and Last. For rotation or movement, add explicit Angle/Center keys and inspect the Spline curve.
Thickness sets stripe width and Softness its side-edge character. Dot Length and Dot Softness control segment shape along the line. Scaling/Increase controls vary the pattern distribution; keep them at zero initially to isolate the base dimensions. Do not infer exact formulas from labels.
Overlap combines sets inside Lines. The PNG lists Maximum, Add, Multiply and Screen. This is separate from an external Merge’s blending mode: inspect the generator first, then choose how to composite it over video. Add can substantially raise intersection values in a dense pattern.
Output is an image. Inspect its alpha for compositing. An ordinary Effect Mask can read Luminance or Alpha directly: select Channel in the receiver’s Settings. Bitmap is useful when separate thresholds, softening or other matte operations are needed.
Thin diagonals and moving dashes are sensitive to resolution and sampling. Start at 2x2 and compare 1x1 and a higher setting at the same Viewer scale. If the pattern is too fine for delivery, thicker lines or lower density may help more than maximum Super-Sampling.
Source Color Space describes space metadata and does not itself perform gamut conversion. Source Gamma Space identifies the curve; correctly configured Remove Curve removes it for linear output. Auto mode does not replace knowing which values are generated and how they are viewed.
When to use it
- Separate spatial First/Last from time and build a readable grid.
- Extract an explicit Luminance mask from Lines and color it through Background.
- Animate Angle 1 and Angle 2 while retaining the spatial First/Last distinction.
Article screenshots
Inputs & outputs
Lines · connections
Lines creates an image at the chosen dimensions. The guide shows its established generator Output path with no required source image. Composite over video through Merge Foreground, extracting a mask channel separately through Bitmap when needed.
Lines generates one or more sets of repeating lines. First and Last define the pattern’s endpoint sets; Options controls their count and overlap. Motion uses parameter keys independently of Global In/Out.
Procedural line sets Lines creates an image at the chosen dimensions. The guide shows its established generator Output path with no required source image. Composite over video through Merge Foreground, extracting a mask channel separately through Bitmap when needed.
Inputs
Not listed yet; absence of a port has not been confirmed
Outputs and destination
Output
A procedural 2D image with lines and its own alpha. Feed it to Merge Foreground for compositing; extract the intended channel through Bitmap first for a mask.
Next step: Merge · Bitmap · MediaOut
The sources do not inventory additional sockets on the current wrapper. A mask socket on Lines itself is not assumed; masking uses Bitmap/Background/Merge.
- Output
- A procedural 2D image with lines and its own alpha. Feed it to Merge Foreground for compositing; extract the intended channel through Bitmap first for a mask.
Processing order
- Connect Lines → MediaOut and set 1920×1080, square pixels and Full Frames.
- Temporarily choose one set and configure First: center, angle 0, spacing, thickness and segment length.
- Restore two sets, set Last Angle to 90 and match the other dimensions.
- Choose Maximum, inspect 2x2 at 100% and play the range without keys.
Two sets in one frame
Lines → MediaOut
Separate spatial First/Last from time and build a readable grid.
Make one readable set first, then configure the second and overlap. Inspect dashes and set count on a still frame; add animation with explicit keys and assess it at delivery resolution.
Parameters
Lines · Inspector reference
Make one readable set first, then configure the second and overlap. Inspect dashes and set count on a still frame; add animation with explicit keys and assess it at delivery resolution.
- Pattern
- First and Last
- Sets
- Count and intersections
- Render
- Raster and sampling
- Composite
- Explicit keys and mask channel
First / Geometry · First set
Position, density and side edges.
- First: Center 1 X/Y
First / Geometry > First: Center 1 X/YFirst-set position. Center 1 locates the first set’s spatial reference. X/Y 0.5/0.5 is the image center; moving it changes pattern placement relative to the frame.
Check / distinguish: Adjust with one set to isolate the pattern.
- First: Angle 1
First / Geometry > First: Angle 1First-set direction. Angle 1 rotates the first set. Compare 0 and 90 degrees and inspect orientation in the Viewer with Center fixed.
Check / distinguish: Add time keys only after configuring the still pattern.
- First: Spacing 1
First / Geometry > First: Spacing 1Separation between lines in a set. Spacing 1 changes parallel-line density. It is neither segment length along a line nor the number of sets.
Check / distinguish: Compare against thickness so adjacent stripes stay distinct.
- First: Thickness 1
First / Geometry > First: Thickness 1Base line thickness. Thickness 1 controls cross-line width. Large thickness with small Spacing can turn the pattern into nearly solid coverage.
Check / distinguish: Inspect at final 1920×1080 rather than an enlarged Viewer.
- First: Thickness Scaling 1
First / Geometry > First: Thickness Scaling 1Spatial thickness variation. Thickness Scaling 1 varies thickness distribution relative to the base setting. Zero is a useful reference; the brief BMD entry does not specify the current Scaling formula.
Check / distinguish: Do not treat Scaling as animation speed or a percentage without verification.
- First: Softness 1
First / Geometry > First: Softness 1Softness of side edges. Softness 1 softens the line’s side edge. It can reduce fine-pattern contrast, so compare RGB and A separately.
Check / distinguish: Set thickness first, then the required edge transition.
- First: Softness Increase 1
First / Geometry > First: Softness Increase 1Softness variation across the pattern. Softness Increase 1 varies softness across the pattern. Start at zero, then change only this parameter and compare several lines.
Check / distinguish: Inspect the whole frame; one soft edge does not describe the full pattern.
- Static baseline
First › scaling / increaseZero Scaling/Increase values isolate the main Center, Spacing, Thickness and Softness controls.
Check / distinguish: Change one parameter per comparison.
First / Dots · Dashes and color
Segment shape along a line is separate from line thickness.
- First: Dot Spacing 1
First / Dots > First: Dot Spacing 1Segment repetition along a line. Dot Spacing 1 sets dash repetition along each line. Spacing 1 still controls separation between parallel lines.
Check / distinguish: Separate these two scales before animating.
- First: Dot Length 1
First / Dots > First: Dot Length 1Dash-segment length. Dot Length 1 controls segment extent along the line. The PNG shows 0.5; compare a smaller trial value while holding Dot Spacing fixed.
Check / distinguish: For dashes, first obtain visible gaps in one set.
- First: Length Scaling 1
First / Dots > First: Length Scaling 1Variation in segment length. Length Scaling 1 varies segment length relative to Dot Length. It is a shape control rather than automatic dash movement over time.
Check / distinguish: Keep 0 for a uniform technical dash pattern.
- First: Dot Softness 1
First / Dots > First: Dot Softness 1Softness of segment ends. Dot Softness 1 softens dash ends along the line. Distinguish it from Softness 1 on the line’s sides.
Check / distinguish: High softness can visually join adjacent dashes.
- First: Dot Softness Increase 1
First / Dots > First: Dot Softness Increase 1Variation in end softness. Dot Softness Increase 1 varies segment-end softness. An initial zero setting lets you assess the base shape before adding variation.
Check / distinguish: Inspect short-dash readability across the frame.
- First: Color 1 / Red / Green / Blue / Alpha
First / Dots > First: Color 1 / Red / Green / Blue / AlphaFirst-set color and alpha. Color 1 exposes Red, Green, Blue and Alpha. RGB sets line color; Alpha affects its compositing coverage. Inspect the pattern background’s transparency separately.
Check / distinguish: Keep the color white for a predictable level when extracting Luminance.
- Dash readability
First / Last › Dot controlsThickness, length, spacing and softness jointly determine readability; a very short soft dash can disappear after downscaling.
Check / distinguish: Dashes remain distinct in the delivered file.
Last · Last set
The other endpoint of the spatial pattern.
- Last: Center 2 X/Y
Last > Last: Center 2 X/YLast-set position. Center 2 belongs to the Last set in the same frame. It is not the target position for the clip’s final frame; use keys for time animation.
Check / distinguish: With two sets, compare both centers together.
- Last: Angle 2
Last > Last: Angle 2Last-set direction. Angle 2 defines the last set’s direction. A 0/90 pair is useful for a rectangular grid; other angle differences produce intersecting patterns.
Check / distinguish: Do not expect playback alone to rotate from Angle 1 to Angle 2.
- Last: Spacing 2 / Thickness 2 / Softness 2 / Dot Parameters
Last > Last: Spacing 2 / Thickness 2 / Softness 2 / Dot ParametersLast-set geometry and dashes. Spacing 2, Thickness 2, Softness 2 and Dot fields have their own Last values. This reference row groups several controls; it is not one shared slider.
Check / distinguish: For a uniform grid, match First and Last geometry except the required angle.
- Last: Color 2 / Red / Green / Blue / Alpha
Last > Last: Color 2 / Red / Green / Blue / AlphaLast-set color and alpha. Color 2 defines the last set independently of Color 1. Contrasting colors help reveal Overlap; identical white sets simplify a technical mask.
Check / distinguish: Inspect A of both sets before compositing over video.
- Spatial endpoints
First / LastThe names refer to endpoint pattern sets, as confirmed by the historical author manual.
Check / distinguish: Both sets appear in the same frame.
Options · Count and overlap
Inspect one still frame first.
- Options: Number Of Line Sets
Options > Options: Number Of Line SetsNumber of spatial sets. Number Of Line Sets controls sets rather than frames. Start with 1 or 2; additional sets create a denser pattern between endpoint configurations.
Check / distinguish: Compare count changes on one still frame.
- Options: Overlap — Maximum
Options > Options: Overlap — MaximumMaximum-based intersections. Maximum selects maximum values when combining patterns. Compare intersections with matching colors, then different RGB; this is the node’s internal Overlap.
Check / distinguish: It is a useful white-pattern reference without simple brightness addition.
- Options: Overlap — Add
Options > Options: Overlap — AddAdditive intersections. Add sums set contributions and can make intersections brighter than individual lines. Inspect values and downstream processing, especially with many sets.
Check / distinguish: Do not fix an overloaded pattern only by darkening Merge.
- Options: Overlap — Multiply
Options > Options: Overlap — MultiplyMultiplication of overlapping patterns. Multiply uses multiplication; dark regions suppress the result more strongly. White lines on a dark base can produce a very different pattern.
Check / distinguish: Inspect Lines output before an external Merge.
- Options: Overlap — Screen
Options > Options: Overlap — ScreenScreen-style brightening overlap. Screen is another internal method for combining sets. Results depend on RGB/alpha values; it does not guarantee trouble-free HDR or very dense patterns.
Check / distinguish: Compare against Maximum on fine patterns and in motion.
- Intermediate sets
Options › Number Of Line SetsIncreasing the count beyond endpoint sets densifies the intermediate pattern rather than lengthening the clip.
Check / distinguish: Compare 2 and 3 on a still frame.
- Overlap vs Merge
Options / downstream MergeInternal Overlap combines Lines sets; an external Merge combines the finished image with another layer.
Check / distinguish: Inspect each operation separately.
Render · Fine-line quality
Assess supersampling at delivery size.
- Render: Super-Sampling
Render > Render: Super-SamplingGeneration supersampling. The PNG lists 1x1, 2x2, 3x3, 4x4, 5x5, 8x8 and 16x16. Higher sampling can improve fine edges and requires more work; maximum sampling is not needed for every frame.
Check / distinguish: Compare 1x1 and 2x2 at delivery resolution, then increase for a visible need.
- Temporal aliasing
Render › Super-SamplingSpatial antialiasing does not guarantee stable motion for very dense dashes at 24 fps.
Check / distinguish: Inspect speed, density and a short export.
Image / Timing · Dimensions, fields and range
Technical formatting does not create animation.
- Global In/Out
Image / Timing > Global In/OutGenerator active range. Global In/Out sets processing start and end. Captured 0–119 means 120 frames. This range does not automatically interpolate First and Last over time.
Check / distinguish: For motion, key the specific Angle or Center.
- Image: Process Mode
Image / Timing > Image: Process ModeFrame or field processing. Full Frames suits progressive compositions. The PNG also shows NTSC Fields, PAL/HD Fields and reversed orders of both; choose these only for the actual field format.
Check / distinguish: Keep Full Frames for this progressive 24 fps example.
- Image: Width / Height / Auto Resolution
Image / Timing > Image: Width / Height / Auto ResolutionGenerated image dimensions. Width/Height define the raster; Auto Resolution uses composition dimensions. Assess density at that resolution, since a new raster can change perceived line thickness.
Check / distinguish: Check output dimensions before downstream resizing.
- Image: Pixel Aspect X/Y
Image / Timing > Image: Pixel Aspect X/YGenerator pixel shape. Pixel Aspect X/Y sets pixel shape. For this HD example, 1/1 produces square pixels; an incorrect aspect alters displayed angles and proportions.
Check / distinguish: Match pixel aspect to the project and delivered file.
- Explicit animation
First / Last › Angle keysKey the specific Angle 1/2 or Center 1/2 controls; Global In/Out only limits the range.
Check / distinguish: The curve contains the intended keys.
Color / Gamma · Color processing and alpha
Metadata, curve removal and coverage are different operations.
- Source Color Space: Color Space Type
Color / Gamma > Source Color Space: Color Space TypeSource color-space metadata. Auto uses available metadata; Space permits an explicit space. BMD’s common Generator controls do not perform gamut conversion here by themselves.
Check / distinguish: Use a separate, correctly configured transform for an actual primaries conversion.
- Source Gamma Space: Curve Type
Color / Gamma > Source Gamma Space: Curve TypeGamma or Log-curve description. Curve Type contains Auto, Space and Log. Space exposes gamma selection; Log exposes Log/Lin settings. Distinguish describing the curve from removing it through Remove Curve.
Check / distinguish: Do not assign a Log curve merely to alter visible contrast.
- Remove Curve
Color / Gamma > Remove CurveRemoval of the selected transfer curve. With correct Source Gamma Space, Remove Curve converts the corresponding values to a linear representation. A wrong curve or repeated removal distorts levels.
Check / distinguish: Keep it disabled until a specific color pipeline is defined.
- Pre-Divide / Post-Multiply
Color / Gamma > Pre-Divide / Post-MultiplyPremultiplied-RGB compensation during processing. Pre-Divide / Post-Multiply concerns RGB processing around alpha. It neither creates the pattern nor replaces Bitmap channel selection. Compare both states on soft edges without duplicate operations around the node.
Check / distinguish: Inspect semitransparent colored lines over light and dark backgrounds.
- Image to mask
Lines → BitmapBitmap with explicit Luminance or Alpha makes the next effect’s limiting channel clear.
Check / distinguish: Bitmap Viewer shows the intended white lines and dark gaps.
- Mask-colored layer
Bitmap → Background → MergeExtract a white pattern as a mask and color it with a separate Background so color does not alter mask level.
Check / distinguish: An opaque image background does not obscure the video.
- Metadata vs conversion
Image › Source Color SpaceSpace describes primaries; it is not a standalone RGB gamut conversion.
Check / distinguish: Perform any required conversion with a separate node.
Before adjusting the node
- First/Last are understood as sets inside one frame.
- Spacing and Dot Spacing are configured separately.
- Dimensions, pixel aspect and Full Frames match delivery.
- Motion has explicit keys and verified interpolation.
- Alpha or the Bitmap channel is inspected before Merge.
Reference documentation
- Raf Schoenmaekers / Komkom Doorn · Krokodove Manual v4.15 · Lines (historical author manual)
Historical author manual v4.15, PDF p. 33: First/Last refer to spatial sets, not automatic animation. Current labels are checked against Resolve PNGs; old versions, licensing and formulas are not transferred.
Examples
Two sets in one frame
Separate spatial First/Last from time and build a readable grid.
Starting conditions
DaVinci Resolve 21 · Lines 21 · editorial reference 2026-10-17 · Krokodove in DaVinci Resolve 21 / Fusion 21; check availability in the installed edition. · Target OS is not fixed; Resolve testing is pending.
1920 × 1080 · 24 fps · 120 frames · A procedural 1920×1080 RGBA image at 24 fps. Inspect color metadata and Remove Curve separately from the pattern.
- Lines creates an image without a required source image.
- To use the pattern as a mask, extract the intended channel through Bitmap.
- First/Last are sets in one frame; motion is controlled by explicit keys.
Nodes and connections
FX— Two Lines sets · LinesOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Two Lines sets (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Two Lines sets (FX) / Global / Global In/Out
[0,119]120 active generator frames.
- Two Lines sets (FX) / Image / Auto Resolution
falseAn explicit teaching-example raster.
- Two Lines sets (FX) / Image / Width
1920HD working width.
- Two Lines sets (FX) / Image / Height
1080HD working height.
- Two Lines sets (FX) / Image / Pixel Aspect
[1,1]Square pixels.
- Two Lines sets (FX) / Image / Process Mode
"Full Frames"Progressive 24 fps.
- Two Lines sets (FX) / Render / Super-Sampling
"2x2"Initial edge-quality setting.
- Two Lines sets (FX) / Image / Remove Curve
falseDo not remove an unspecified curve.
- Two Lines sets (FX) / First / Center 1
[0.5,0.5]Set center.
- Two Lines sets (FX) / First / Angle 1
0Set direction on a still frame.
- Two Lines sets (FX) / First / Spacing 1
0.12Readable line separation.
- Two Lines sets (FX) / First / Thickness 1
0.02Initial thickness for review.
- Two Lines sets (FX) / First / Softness 1
0.005Slight side-edge softness.
- Two Lines sets (FX) / First / Dot Spacing 1
0.08Along-line segment spacing.
- Two Lines sets (FX) / First / Dot Length 1
0.5Initial length for dashed or continuous comparison.
- Two Lines sets (FX) / First / Color 1
[1,1,1,1]Set color and alpha.
- Two Lines sets (FX) / Last / Center 2
[0.5,0.5]Set center.
- Two Lines sets (FX) / Last / Angle 2
90Set direction on a still frame.
- Two Lines sets (FX) / Last / Spacing 2
0.12Readable line separation.
- Two Lines sets (FX) / Last / Thickness 2
0.02Initial thickness for review.
- Two Lines sets (FX) / Last / Softness 2
0.005Slight side-edge softness.
- Two Lines sets (FX) / Last / Dot Spacing 2
0.08Along-line segment spacing.
- Two Lines sets (FX) / Last / Dot Length 2
0.5Initial length for dashed or continuous comparison.
- Two Lines sets (FX) / Last / Color 2
[1,1,1,1]Set color and alpha.
- Two Lines sets (FX) / Options / Number Of Line Sets
2First and last sets at the same time.
- Two Lines sets (FX) / Options / Overlap
"Maximum"Review intersections without simple addition.
Reproduce the example
- Connect Lines → MediaOut and set 1920×1080, square pixels and Full Frames.
The generator creates the pattern itself.
Check: No input image is needed and output dimensions are HD.
- Temporarily choose one set and configure First: center, angle 0, spacing, thickness and segment length.
One set isolates the basic controls.
Check: The pattern is readable and Spacing and Dot Spacing have distinct roles.
- Restore two sets, set Last Angle to 90 and match the other dimensions.
First and Last must exist simultaneously.
Check: Two intersecting line families appear in one frame.
- Choose Maximum, inspect 2x2 at 100% and play the range without keys.
Global In/Out does not rotate between sets.
Check: The unanimated pattern stays still; RGB and A have been inspected separately.
Expected result
- Result (OUT) · frame 60
Expect two spatial line families at 0 and 90 degrees in one frame.
Alpha: Inspect generator A separately; white RGB lines do not establish background alpha.
When the result differs
- The pattern does not rotate during playback
Cause: Angle has no keys; First/Last are spatial sets.
Correction: Add explicit keys to the required angles for motion.
- The whole frame appears white
Cause: Thickness/softness is too large relative to spacing, or too many sets are enabled.
Correction: Start with one set and reduce line coverage.
References
- Blackmagic Design · DaVinci Resolve 21 Reference Manual · Fusion Krokodove · Image Create Tools · Lines
BMD21 PDF/printed p. 2485 establishes Lines as a generator of repeated line sets. Its six original article PNGs establish the current Inspector fields and menu choices. BMD21 Generator Nodes Image controls pp. 2451–2452 explain process mode, image dimensions, metadata-only Source Color Space and optional gamma removal. The author’s historical Krokodove v4.15 manual, PDF p. 33, independently establishes First/Last as spatial line-set endpoints with intermediate sets, not a Global In/Out animation. The complete current wrapper socket inventory and exact scaling formulas remain unverified; examples use only generator image Output, with masks made through Bitmap.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Dashes as a colored layer over video
Extract an explicit Luminance mask from Lines and color it through Background.
Starting conditions
DaVinci Resolve 21 · Lines 21 · editorial reference 2026-10-17 · Krokodove in DaVinci Resolve 21 / Fusion 21; check availability in the installed edition. · Target OS is not fixed; Resolve testing is pending.
1920 × 1080 · 24 fps · 120 frames · A procedural 1920×1080 RGBA image at 24 fps. Inspect color metadata and Remove Curve separately from the pattern.
- Lines creates an image without a required source image.
- To use the pattern as a mask, extract the intended channel through Bitmap.
- First/Last are sets in one frame; motion is controlled by explicit keys.
Source material
- SRC
Your own opaque 1920×1080 video at least 120 frames long.
Use your own calm shot to assess the dashes.
Nodes and connections
FX— Lines pattern · LinesBITMAP— Luminance → mask · BitmapMaskCOLOR— Line color · BackgroundSRC— Video · MediaInMERGE— Composite · MergeOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Lines pattern (FX)Output | Luminance → mask (BITMAP)Image | image |
Luminance → mask (BITMAP)Mask | Line color (COLOR)EffectMask | mask |
Video (SRC)Output | Composite (MERGE)Background | image |
Line color (COLOR)Output | Composite (MERGE)Foreground | image |
Composite (MERGE)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Lines pattern (FX) / Global / Global In/Out
[0,119]120 active generator frames.
- Lines pattern (FX) / Image / Auto Resolution
falseAn explicit teaching-example raster.
- Lines pattern (FX) / Image / Width
1920HD working width.
- Lines pattern (FX) / Image / Height
1080HD working height.
- Lines pattern (FX) / Image / Pixel Aspect
[1,1]Square pixels.
- Lines pattern (FX) / Image / Process Mode
"Full Frames"Progressive 24 fps.
- Lines pattern (FX) / Render / Super-Sampling
"2x2"Initial edge-quality setting.
- Lines pattern (FX) / Image / Remove Curve
falseDo not remove an unspecified curve.
- Lines pattern (FX) / First / Center 1
[0.5,0.5]Set center.
- Lines pattern (FX) / First / Angle 1
15Set direction on a still frame.
- Lines pattern (FX) / First / Spacing 1
0.12Readable line separation.
- Lines pattern (FX) / First / Thickness 1
0.02Initial thickness for review.
- Lines pattern (FX) / First / Softness 1
0.005Slight side-edge softness.
- Lines pattern (FX) / First / Dot Spacing 1
0.08Along-line segment spacing.
- Lines pattern (FX) / First / Dot Length 1
0.15Initial length for dashed or continuous comparison.
- Lines pattern (FX) / First / Color 1
[1,1,1,1]Set color and alpha.
- Lines pattern (FX) / Last / Center 2
[0.5,0.5]Set center.
- Lines pattern (FX) / Last / Angle 2
75Set direction on a still frame.
- Lines pattern (FX) / Last / Spacing 2
0.12Readable line separation.
- Lines pattern (FX) / Last / Thickness 2
0.02Initial thickness for review.
- Lines pattern (FX) / Last / Softness 2
0.005Slight side-edge softness.
- Lines pattern (FX) / Last / Dot Spacing 2
0.08Along-line segment spacing.
- Lines pattern (FX) / Last / Dot Length 2
0.15Initial length for dashed or continuous comparison.
- Lines pattern (FX) / Last / Color 2
[1,1,1,1]Set color and alpha.
- Lines pattern (FX) / Options / Number Of Line Sets
2Start with two distinct sets.
- Lines pattern (FX) / Options / Overlap
"Maximum"Keep a simple mask pattern.
- Luminance → mask (BITMAP) / Controls / Channel
"Luminance"Explicitly choose luminance for the mask.
- Line color (COLOR) / Color / Color
[0.08,0.7,1,1]Color the already extracted lines.
Reproduce the example
- Configure two white Lines sets at 15/75 degrees with short segments.
White separates mask level from the final tint.
Check: Dashes are readable at delivery size.
- Connect Lines.Output to Bitmap.Image and select Channel Luminance.
Converting image to mask makes the selected channel explicit.
Check: Bitmap Viewer shows bright dashes and dark gaps.
- Connect Bitmap.Mask to Background.EffectMask; feed the colored Background to Merge Foreground and video to Merge Background.
Color is controlled separately from the mask.
Check: Video appears between dashes and the dashes use the selected color.
- Check 1920×1080, Full Frames, 2x2 and a short 24 fps export.
Fine dashes can be lost during resampling and encoding.
Check: Lines remain readable and raster/range match the composition.
Expected result
- Result (OUT) · frame 60
Expect cyan dashes over video; mask gaps do not obscure the background.
Alpha: The colored Background’s alpha follows Bitmap; inspect the result over opaque video separately.
When the result differs
- A solid color covers the video
Cause: Bitmap is not connected to Background EffectMask, or the wrong channel is extracted.
Correction: Inspect Bitmap Viewer and the mask connection before Merge.
- Dashes disappear after resizing
Cause: Segments are too fine or soft for delivery.
Correction: Increase readable segment size and compare filtering.
References
- Blackmagic Design · DaVinci Resolve 21 Reference Manual · Fusion Krokodove · Image Create Tools · Lines
BMD21 PDF/printed p. 2485 establishes Lines as a generator of repeated line sets. Its six original article PNGs establish the current Inspector fields and menu choices. BMD21 Generator Nodes Image controls pp. 2451–2452 explain process mode, image dimensions, metadata-only Source Color Space and optional gamma removal. The author’s historical Krokodove v4.15 manual, PDF p. 33, independently establishes First/Last as spatial line-set endpoints with intermediate sets, not a Global In/Out animation. The complete current wrapper socket inventory and exact scaling formulas remain unverified; examples use only generator image Output, with masks made through Bitmap.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Rotate the pattern with explicit keys
Animate Angle 1 and Angle 2 while retaining the spatial First/Last distinction.
Starting conditions
DaVinci Resolve 21 · Lines 21 · editorial reference 2026-10-17 · Krokodove in DaVinci Resolve 21 / Fusion 21; check availability in the installed edition. · Target OS is not fixed; Resolve testing is pending.
1920 × 1080 · 24 fps · 120 frames · A procedural 1920×1080 RGBA image at 24 fps. Inspect color metadata and Remove Curve separately from the pattern.
- Lines creates an image without a required source image.
- To use the pattern as a mask, extract the intended channel through Bitmap.
- First/Last are sets in one frame; motion is controlled by explicit keys.
Source material
- SRC
Your own opaque 1920×1080 video at least 120 frames long.
Use your own calm shot to assess the dashes.
Nodes and connections
FX— Lines pattern · LinesBITMAP— Luminance → mask · BitmapMaskCOLOR— Line color · BackgroundSRC— Video · MediaInMERGE— Composite · MergeOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Lines pattern (FX)Output | Luminance → mask (BITMAP)Image | image |
Luminance → mask (BITMAP)Mask | Line color (COLOR)EffectMask | mask |
Video (SRC)Output | Composite (MERGE)Background | image |
Line color (COLOR)Output | Composite (MERGE)Foreground | image |
Composite (MERGE)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Lines pattern (FX) / Global / Global In/Out
[0,119]120 active generator frames.
- Lines pattern (FX) / Image / Auto Resolution
falseAn explicit teaching-example raster.
- Lines pattern (FX) / Image / Width
1920HD working width.
- Lines pattern (FX) / Image / Height
1080HD working height.
- Lines pattern (FX) / Image / Pixel Aspect
[1,1]Square pixels.
- Lines pattern (FX) / Image / Process Mode
"Full Frames"Progressive 24 fps.
- Lines pattern (FX) / Render / Super-Sampling
"2x2"Initial edge-quality setting.
- Lines pattern (FX) / Image / Remove Curve
falseDo not remove an unspecified curve.
- Lines pattern (FX) / First / Center 1
[0.5,0.5]Set center.
- Lines pattern (FX) / First / Angle 1
0Set direction on a still frame.
- Lines pattern (FX) / First / Spacing 1
0.12Readable line separation.
- Lines pattern (FX) / First / Thickness 1
0.02Initial thickness for review.
- Lines pattern (FX) / First / Softness 1
0.005Slight side-edge softness.
- Lines pattern (FX) / First / Dot Spacing 1
0.08Along-line segment spacing.
- Lines pattern (FX) / First / Dot Length 1
0.5Initial length for dashed or continuous comparison.
- Lines pattern (FX) / First / Color 1
[1,1,1,1]Set color and alpha.
- Lines pattern (FX) / Last / Center 2
[0.5,0.5]Set center.
- Lines pattern (FX) / Last / Angle 2
90Set direction on a still frame.
- Lines pattern (FX) / Last / Spacing 2
0.12Readable line separation.
- Lines pattern (FX) / Last / Thickness 2
0.02Initial thickness for review.
- Lines pattern (FX) / Last / Softness 2
0.005Slight side-edge softness.
- Lines pattern (FX) / Last / Dot Spacing 2
0.08Along-line segment spacing.
- Lines pattern (FX) / Last / Dot Length 2
0.5Initial length for dashed or continuous comparison.
- Lines pattern (FX) / Last / Color 2
[1,1,1,1]Set color and alpha.
- Lines pattern (FX) / Options / Number Of Line Sets
2Two sets for coordinated rotation.
- Lines pattern (FX) / Options / Overlap
"Maximum"Keep overlap fixed.
- Lines pattern (FX) / First / Angle 1
0· frame 0Start the first set’s explicit rotation.
- Lines pattern (FX) / First / Angle 1
45· frame 119End the first set’s rotation.
- Lines pattern (FX) / Last / Angle 2
90· frame 0Start the second set at a right angle to the first.
- Lines pattern (FX) / Last / Angle 2
135· frame 119Both sets rotate by 45 degrees.
- Luminance → mask (BITMAP) / Controls / Channel
"Luminance"Explicitly choose luminance for the mask.
- Line color (COLOR) / Color / Color
[0.08,0.7,1,1]Color the already extracted lines.
Reproduce the example
- Build Lines → Bitmap → Background mask → Merge Foreground and connect video to Merge Background.
Pattern and color are controlled independently.
Check: The initial frame shows two white mask families and the colored result.
- Key Angle 1 from 0 to 45 and Angle 2 from 90 to 135 at frames 0 and 119.
Each spatial set gets its own time curve.
Check: Spline shows the four intended keys on the two angles.
- Choose matching linear interpolation for both angles and compare start, middle and end.
Matching timing preserves the difference in directions.
Check: The sets rotate together rather than replacing one another.
- Play all 120 Full Frames and assess fine lines at 2x2, then inspect a short output.
Spatial sampling and temporal aliasing need separate assessment.
Check: No objectionable flicker appears; dimensions, range and color processing remain fixed.
Expected result
- Result (OUT) · frame 60
Expect both sets to rotate together by 45 degrees over frames 0–119.
Alpha: Inspect Bitmap and colored-layer alpha at the start, middle and end.
When the result differs
- One set stays still
Cause: Only one Angle has been keyed.
Correction: Check separate Angle 1 and Angle 2 curves.
- Lines shimmer in motion
Cause: The pattern is too fine or dense for the chosen speed and raster.
Correction: Reduce density, increase thickness or slow motion; compare Super-Sampling.
References
- Blackmagic Design · DaVinci Resolve 21 Reference Manual · Fusion Krokodove · Image Create Tools · Lines
BMD21 PDF/printed p. 2485 establishes Lines as a generator of repeated line sets. Its six original article PNGs establish the current Inspector fields and menu choices. BMD21 Generator Nodes Image controls pp. 2451–2452 explain process mode, image dimensions, metadata-only Source Color Space and optional gamma removal. The author’s historical Krokodove v4.15 manual, PDF p. 33, independently establishes First/Last as spatial line-set endpoints with intermediate sets, not a Global In/Out animation. The complete current wrapper socket inventory and exact scaling formulas remain unverified; examples use only generator image Output, with masks made through Bitmap.
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
Other outlines from the article
Two sets in one frame
Separate spatial First/Last from time and build a readable grid.
- Lines
- MediaOut
Dashes as a colored layer over video
Extract an explicit Luminance mask from Lines and color it through Background.
- Lines
- Bitmap
- Background
- Merge
- MediaOut
Rotate the pattern with explicit keys
Animate Angle 1 and Angle 2 while retaining the spatial First/Last distinction.
- Lines
- Bitmap
- Background
- Merge
- MediaOut
Mistakes
- Treating First/Last as automatic first and last animation frames.
- Confusing between-line Spacing with along-line Dot Spacing.
- Using an image in a mask workflow without deliberately choosing a channel.
- Treating internal Screen as the external Merge’s setting.
- Assigning an undocumented Effect Mask socket to the generator.
- Treating Source Color Space as a complete gamut conversion.
- Trying to fix an excessively fine pattern only with maximum Super-Sampling.
Tips
- Configure First with one set, then enable Last.
- Use distinct set colors for diagnosis and matching white for masks.
- Inspect motion at real 24 fps rather than only scrubbing.
- Use a separate Background to color a masked pattern.
- Keep a modest thickness margin before final downscaling.
Workflow order
- Connect Lines → MediaOut and set 1920×1080, square pixels and Full Frames.
- Temporarily choose one set and configure First: center, angle 0, spacing, thickness and segment length.
- Restore two sets, set Last Angle to 90 and match the other dimensions.
- Choose Maximum, inspect 2x2 at 100% and play the range without keys.
