FUSION · FULL ARTICLE
Worm
Creates a Krokodove raster stroke from straight and curved segments. Curve controls geometry; Shading controls color, thickness, joins and caps. A mask is obtained by extracting a channel separately.
Overview
Worm belongs to the Krokodove toolset integrated in Resolve 21. The manual describes straight and curved lines defined through specified points. Its output is used as an image: Merge composites it over another frame, while the examples use Bitmap for a mask socket.
Worm retains an optional main image input, which the author’s shared Krokodove adapter adds separately from Curve parameters. The examples feed it a transparent 640×360 Background so format and initial Alpha are explicit. The historical author version names this input Image; Input denotes its role in the teaching graph.
Adjust geometry and styling separately. Begin with a short open path, one visible bend and both endpoints inside the frame. This exposes the difference between a segment join and a line cap. Glow and other effects make the contour harder to judge at this stage.
The author’s Curve controls can continue a segment by length and angle or use an absolute position; curvature has a separate Curve control. The current archive shows the Shading tab, so all eight original Shading entries are retained, with geometry explained in additional Inspector topics.
Pen Color supplies pen RGBA, Pen Opacity adjusts opacity and Pen Thickness changes width. For the first comparison use Alpha=1, Opacity=1 and Bias=0. If glow is required, first establish a legible stroke, then add a separate Glow tool.
Pen Join Type affects joins: Miter emphasizes the corner, Bevel clips it and Round rounds it. Pen End Type affects open endpoints, with Roundness refining a round cap. A straight segment is a poor test for Join; a closed contour is a poor test for End.
Inspect output Alpha before using the stroke as a mask. Bright RGB alone does not guarantee a useful matte. Feed the image into Bitmap.Image, select Alpha, and inspect a white stroke on black. Its mask output can then drive Background.EffectMask or another processor.
When to use it
- Create an open callout with different joins and caps.
- Create a colored stroke on its own layer.
- Animate a line reveal with Write End.
- Build a mask for a colored Background through Bitmap.
- Prepare a source contour for a separate Glow tool.
Article screenshots
Inputs & outputs
Worm · inputs and output
Creates a Krokodove raster stroke from straight and curved segments. Curve controls geometry; Shading controls color, thickness, joins and caps. A mask is obtained by extracting a channel separately.
Path segments are defined first, then a pen is drawn around them. Color and thickness belong to that raster stroke; Bitmap can convert its Alpha into a mask stream.
Inputs
- Input
Optional image canvas
Receives: The stroke image canvas. The practices connect a transparent 640×360 Background.
Inside the node: Supplies an image and drawing format. The historical author implementation registers this main image input as Image.
Typical sources: Background · MediaIn
Use a transparent canvas for an isolated stroke layer. An opaque input prevents extracting only stroke Alpha.
Outputs and destination
Output
An RGBA stroke image; use Bitmap to extract the chosen channel for a mask socket.
Next step: MediaOut.Input · Merge.Foreground
Inspect RGB and Alpha separately before the final composite.
- Output
- An RGBA stroke image; use Bitmap to extract the chosen channel for a mask socket.
Processing order
- Create a 640×360, 24 fps composition. Connect a transparent Background (RGBA=0/0/0/0) to the main Worm image input and show Worm in a Viewer.
- Place Start inside the frame in Controls; keep a short open path with one bend in Curve.
- In Shading start with white Pen Color, Alpha=1, Pen Opacity=1 and Bias=0.
- Choose thickness, then compare Join at the bend and End at an open endpoint.
Create an open callout with different joins and caps.
Transparent Background → Worm.Input; Worm → Merge.Foreground; background → Merge.Background → MediaOut
Path segments are defined first, then a pen is drawn around them. Color and thickness belong to that raster stroke; Bitmap can convert its Alpha into a mask stream.
Compare pen styling on an open bent path over a contrasting background.
Parameters
Worm · Inspector guide
Creates a Krokodove raster stroke from straight and curved segments. Curve controls geometry; Shading controls color, thickness, joins and caps. A mask is obtained by extracting a channel separately.
- Curve Geometry
- First create an open control stroke.
- Pen Color and Alpha
- Inspect color separately from Alpha.
- Width and Joins
- Compare a straight section and a clear bend.
- Caps and Output
- Refine caps and inspect the mask path.
Curve Geometry · Path geometry
First create an open control stroke.
- Start and segment definition
Controls > Start / Curve > TypeStart places the beginning of the path. The author’s implementation provides Continue/Absolute, Position and Length/Radius segment definitions.
Check / distinguish: Begin the teaching shape with one short segment and then add a bend.
- Length, Angle and Curve
Curve > segment geometrySeparate extent, direction and curvature. Three independent decisions are easier to inspect on a short path.
Check / distinguish: Change one segment parameter and watch its endpoint.
- Write Start and Write End
Controls > writing rangeThe author’s controls include the beginning and end of the visible part. Animate End while retaining the path to create a reveal.
Check / distinguish: With Start=0 compare End=0, 0.5 and 1.
- Optional image canvas
Flow > main image inputThe shared Krokodove adapter adds a main image input, historically named Image. A transparent Background defines the canvas and clean Alpha for an isolated stroke.
Check / distinguish: Connect RGBA=0/0/0/0 and inspect Alpha before and after Worm.
- Start / Reposition around worm center
Controls / Curve > Start / Reposition around worm centerStart defines the path spatial anchor. With Reposition around worm center off it is the first segment start; the enabled mode reanchors the shape around its center. Keep it off for exact teaching-line coordinates, then change Start for placement. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
- Global Length / Offset
Controls / Curve > Global Length / OffsetGlobal Length scales segment lengths: 1 keeps their Length values and0.5 halves them. Offset generates a parallel offset of the constructed contour; it is neither X/Y translation of Start nor Write On. Strong bends can change join geometry under offsetting. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
- Repeat worm / Replicate worm / Replicate offset
Controls / Curve > Repeat worm / Replicate worm / Replicate offsetRepeat worm traverses the segment list again, continuing path construction and repeating the pattern along the line. Replicate worm creates additional parallel contours separated by Replicate offset. Repeat and Replicate therefore solve different tasks. Initial values 1/1 retain one pass and one stroke. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
- Type: Continue / Absolute
Controls / Curve > Type: Continue / AbsoluteContinue builds the next segment from the previous endpoint with the accumulated direction. Absolute introduces an explicit Position and absolute direction for the section; the author algorithm joins it to the previous section. Use Continue for a short connected polyline and Absolute when an explicit spatial landmark is needed. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
- Define By: Length / Radius
Controls / Curve > Define By: Length / RadiusLength defines segment extent, while Radius defines the radius of a curved segment. Angle changes the starting direction and Curve controls the bend within the segment; Curve0 gives a straight line. With nonzero Curve, the same number in Length and Radius does not define the same arc. Start with Length0.25, Angle0 and Curve0. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
- Curve subdivisions
Controls / Curve > Curve subdivisionsCurve subdivisions sets curved-segment tessellation in the author implementation. Define geometry through Angle/Curve/Length or Radius first, then increase subdivisions only if the arc is visibly faceted at final resolution. It does not change Pen Thickness. Geometry is based on the statically inspected author 8.30 implementation; matching current Inspector controls are not claimed verified.
Check / distinguish: Keep other segments and Shading unchanged during comparison.
Pen Color and Alpha · Color and opacity
Inspect color separately from Alpha.
- Pen Color
Pen Color and Alpha > Pen ColorThe pen RGBA color. The color belongs to the drawn stroke, not a background added with a separate Merge.
Check / distinguish: Begin with a white pen over a dark background.
- Red / Green / Blue / Alpha
Pen Color and Alpha > Red / Green / Blue / AlphaThe pen color and alpha components. RGB changes color, while Alpha participates in transparency. Select Alpha explicitly with Bitmap for a mask.
Check / distinguish: Inspect Alpha separately in the Viewer rather than judging by RGB brightness.
- Pen Opacity
Pen Color and Alpha > Pen OpacityThe pen opacity. Adjust opacity after choosing a color. Reduced Alpha and Opacity together can make a stroke faint.
Check / distinguish: Start with Alpha=1 and Opacity=1.
Width and Joins · Width and joins
Compare a straight section and a clear bend.
- Pen Thickness
Width and Joins > Pen ThicknessThe raster stroke width. Evaluate thickness along a straight section, at a join and at a rounded cap at final frame size.
Check / distinguish: Compare 0.01 and 0.025 on the same path.
- Pen Thickness Bias
Width and Joins > Pen Thickness BiasThe thickness profile bias. Start at zero and compare positive and negative values on the same path. Do not use this control as a substitute for Curve geometry.
Check / distinguish: Restore Bias=0 before comparing Join and End.
- Pen Join Type
Width and Joins > Pen Join TypeThe segment join style. Compare Miter, Bevel and Round at a visible bend rather than along a straight section.
Check / distinguish: Temporarily increase thickness when inspecting the corner.
- Stable comparison geometry
Viewer > bent open pathA short path with one bend exposes join style without interference from many intersections.
Check / distinguish: Compare Miter, Bevel and Round without moving points.
Caps and Output · Caps and output
Refine caps and inspect the mask path.
- Pen End Type
Caps and Output > Pen End TypeThe open endpoint style. Simple and Round affect endpoints; the junction between segments uses the separate Join Type.
Check / distinguish: Keep both endpoints of the control stroke inside the frame.
- Pen End Type Roundness
Caps and Output > Pen End Type RoundnessRefines a round endpoint. Evaluate Roundness after selecting End Type=Round. The slider’s presence alone does not make a Simple cap round.
Check / distinguish: Compare two values on a thick open endpoint.
- Image to mask conversion
Output > Bitmap.Image > AlphaThe internal line geometry has been rasterized at output. Bitmap extracts Alpha for a mask socket.
Check / distinguish: Bitmap shows black outside the stroke and follows Worm Alpha.
Before adjusting the node
- The open stroke and its bend are inside the frame.
- RGB, Alpha and Pen Opacity were checked separately.
- Join is compared at a bend and End at an open endpoint.
- The mask branch explicitly extracts Alpha with Bitmap.
- The animation is checked at its first, middle and last frames.
Reference documentation
- Blackmagic Design — DaVinci Resolve 21: Worm
Printed p.2484: Worm creates straight and curved lines. Shading parameters are verified against the user screenshot; historical Curve labels are statically inspected in the author Krokodove 8.30 archive, not claimed as native execution.
- Komkom Doorn — Krokodove 8.30 authored controls
Author-defined geometry controls; the current Shading tab is checked against the archive PNG.
Examples
A bend and open endpoints
Compare Pen Join Type and Pen End Type separately on two segments.
Starting conditions
DaVinci Resolve 21 · Worm 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page, integrated Krokodove toolset with Worm. · Target OS is not fixed; native verification is pending.
640 × 360 · 24 fps · 24 frames · Procedural pen RGBA on a transparent 640×360 canvas. Inspect pen color and Alpha separately and use identical color processing in compared branches.
- Worm from Resolve 21 Krokodove and native Background/Merge/Bitmap. Enter settings manually; geometry labels are checked against static author definitions in Krokodove 8.30, and Shading against the current archive screenshot.
- A transparent Background supplies an explicit canvas at the main image input. Input in the teaching graph denotes this socket, registered as Image in the historical author adapter.
Nodes and connections
CANVAS— Transparent canvas · BackgroundFX— Control stroke · WormBG— Dark background · BackgroundMIX— Stroke on background · MergeOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Transparent canvas (CANVAS)Output | Control stroke (FX)Input | image |
Control stroke (FX)Output | Stroke on background (MIX)Foreground | image |
Dark background (BG)Output | Stroke on background (MIX)Background | image |
Stroke on background (MIX)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Transparent canvas (CANVAS) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Transparent canvas (CANVAS) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Transparent canvas (CANVAS) / Color / Red / Green / Blue / Alpha
[0,0,0,0]Explicitly defines source channels and opacity.
- Control stroke (FX) / Controls / Start
[0.2,0.4]The short path begins inside the frame.
- Control stroke (FX) / Controls / Reposition around worm center
falseKeeps placement relative to the stated Start.
- Control stroke (FX) / Controls / Global Length
1Avoids an additional global length scale.
- Control stroke (FX) / Controls / Offset
0Keeps the sequence start unchanged.
- Control stroke (FX) / Controls / Repeat worm
1Keeps one sequence pass.
- Control stroke (FX) / Controls / Replicate worm
1Keeps one stroke instance.
- Control stroke (FX) / Controls / Write Start
0The visible range starts at the beginning of the path.
- Control stroke (FX) / Controls / Write End
1Exposes the whole path while shaping.
- Control stroke (FX) / Curve / Type 1
"Continue"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Define By 1
"Length"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Length 1
0.25Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Angle 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Curve 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Type 2
"Continue"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Define By 2
"Length"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Length 2
0.25Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Angle 2
90Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Curve / Curve 2
0Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Control stroke (FX) / Shading / Red / Green / Blue / Alpha
[1,1,1,1]White isolates geometry and Alpha from color.
- Control stroke (FX) / Shading / Pen Opacity
1Fixes pen opacity.
- Control stroke (FX) / Shading / Pen Thickness
0.025A thick control stroke exposes joins and caps.
- Control stroke (FX) / Shading / Pen Thickness Bias
0Keeps a neutral profile for comparison.
- Control stroke (FX) / Shading / Pen Join Type
"Round"Fixes the baseline join style.
- Control stroke (FX) / Shading / Pen End Type
"Round"Sets an explicit cap style for open endpoints.
- Control stroke (FX) / Shading / Pen End Type Roundness
1Provides a control round cap.
- Dark background (BG) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Dark background (BG) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Dark background (BG) / Color / Red / Green / Blue / Alpha
[0.04,0.06,0.09,1]Explicitly defines source channels and opacity.
- Stroke on background (MIX) / Controls / Blend
1Shows the full stroke over an opaque background.
- Control stroke (FX) / Controls / Repeat worm
2Traverse the segment list for a second pass.
- Control stroke (FX) / Controls / Replicate worm
2Add parallel contours after restoring Repeat to1.
- Control stroke (FX) / Controls / Replicate offset
0.04Separate parallel strokes.
Reproduce the example
- Create a transparent 640×360 Background CANVAS with RGBA=0/0/0/0. Connect it to the main Worm image input (Image in the historical author version; Input in the teaching graph).
An explicit canvas fixes input size and transparency.
Check: CANVAS is fully transparent and Worm receives an image; subsequent Alpha shows pen coverage.
- Add a fresh Worm through Select Tool and reset it. Use a 640×360, 24 fps composition. Enter the specified Controls and first two Curve-row values; keep other rows at Continue, Length=0 and Curve=0. Type 1 / Length 1 denote the first Curve row, not a separate tool. Use local frames 0–23. For the second segment use Angle=90, Curve=0.
One clear bend is needed to test Join.
Check: The Viewer shows an open two-segment stroke without extra repeats.
- Set Shading from the table. Create BG and wire FX → MIX.Foreground, BG → MIX.Background, MIX → OUT.
An opaque dark background makes the white join shape clear.
Check: Both endpoints and the bend are visible.
- At frame 12 compare Miter, Bevel and Round without moving points, then restore Round.
The join changes while the path stays fixed.
Check: The difference appears at the bend; straight portions keep their positions.
- Switch End Type between Simple and Round, then compare Roundness=0.25 and 1 with Round selected. Restore Round/1.
Caps are tested independently of the join.
Check: Open endpoints change rather than the path interior.
- After comparing Join/End, set Repeat worm 2 to traverse the two-segment list again. Restore Repeat 1, then set Replicate worm 2 and Replicate offset 0.04.
Repeat changes path extent; Replicate builds parallel strokes. This is a statically confirmed 8.30 geometry model, not a 21 render report.
Check: The first comparison repeats the segment sequence; the second creates separately offset contours.
Expected result
- Output (OUT) · frame 12
An open white stroke appears on a dark background; Join changes the bend and End changes the caps.
Alpha: Final Alpha=1 comes from BG; inspect Worm Alpha before MIX.
When the result differs
- The stroke leaves the frame or becomes a long repeated figure.
Cause: Extra segments are active, Repeat/Replicate exceed 1 or recentering is enabled.
Correction: Reset Worm, keep the two specified segments, set other Length values to 0 and Repeat/Replicate to 1.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21: Worm
Printed p.2484: Worm creates straight and curved lines. Shading parameters are verified against the user screenshot; historical Curve labels are statically inspected in the author Krokodove 8.30 archive, not claimed as native execution.
- Komkom Doorn — Krokodove 8.30 authored controls
Official author download linked from https://www.komkomdoorn.com/krokodove/ . Static, nonexecuting inspection of KEffectWorm parameter-registration strings: Start, Length/Angle/Curve, Write Start/End and pen styling. Historical control definitions, not a Resolve 21 runtime certification. The inherited KTool::AddEffectInputs / AddInputKD adapter registers a standard image input independently of ImagesInitialise(0). This supports retaining the original optional canvas port, without claiming a Resolve 21 native port audit.
A 48-frame reveal along a curve
Animate Write End while keeping geometry and pen opacity fixed.
Starting conditions
DaVinci Resolve 21 · Worm 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page, integrated Krokodove toolset with Worm. · Target OS is not fixed; native verification is pending.
640 × 360 · 24 fps · 48 frames · Procedural pen RGBA on a transparent 640×360 canvas. Inspect pen color and Alpha separately and use identical color processing in compared branches.
- Worm from Resolve 21 Krokodove and native Background/Merge/Bitmap. Enter settings manually; geometry labels are checked against static author definitions in Krokodove 8.30, and Shading against the current archive screenshot.
- A transparent Background supplies an explicit canvas at the main image input. Input in the teaching graph denotes this socket, registered as Image in the historical author adapter.
Nodes and connections
CANVAS— Transparent canvas · BackgroundFX— Revealing stroke · WormBG— Contrasting background · BackgroundMIX— Stroke over background · MergeOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Transparent canvas (CANVAS)Output | Revealing stroke (FX)Input | image |
Revealing stroke (FX)Output | Stroke over background (MIX)Foreground | image |
Contrasting background (BG)Output | Stroke over background (MIX)Background | image |
Stroke over background (MIX)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Transparent canvas (CANVAS) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Transparent canvas (CANVAS) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Transparent canvas (CANVAS) / Color / Red / Green / Blue / Alpha
[0,0,0,0]Explicitly defines source channels and opacity.
- Revealing stroke (FX) / Controls / Start
[0.2,0.4]The short path begins inside the frame.
- Revealing stroke (FX) / Controls / Reposition around worm center
falseKeeps placement relative to the stated Start.
- Revealing stroke (FX) / Controls / Global Length
1Avoids an additional global length scale.
- Revealing stroke (FX) / Controls / Offset
0Keeps the sequence start unchanged.
- Revealing stroke (FX) / Controls / Repeat worm
1Keeps one sequence pass.
- Revealing stroke (FX) / Controls / Replicate worm
1Keeps one stroke instance.
- Revealing stroke (FX) / Controls / Write Start
0The visible range starts at the beginning of the path.
- Revealing stroke (FX) / Curve / Type 1
"Continue"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Define By 1
"Length"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Length 1
0.25Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Angle 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Curve 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Type 2
"Continue"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Define By 2
"Length"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Length 2
0.25Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Angle 2
0Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Curve / Curve 2
90Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Revealing stroke (FX) / Shading / Red / Green / Blue / Alpha
[1,1,1,1]White isolates geometry and Alpha from color.
- Revealing stroke (FX) / Shading / Pen Opacity
1Fixes pen opacity.
- Revealing stroke (FX) / Shading / Pen Thickness
0.025A thick control stroke exposes joins and caps.
- Revealing stroke (FX) / Shading / Pen Thickness Bias
0Keeps a neutral profile for comparison.
- Revealing stroke (FX) / Shading / Pen Join Type
"Round"Fixes the baseline join style.
- Revealing stroke (FX) / Shading / Pen End Type
"Round"Sets an explicit cap style for open endpoints.
- Revealing stroke (FX) / Shading / Pen End Type Roundness
1Provides a control round cap.
- Contrasting background (BG) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Contrasting background (BG) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Contrasting background (BG) / Color / Red / Green / Blue / Alpha
[0.04,0.06,0.09,1]Explicitly defines source channels and opacity.
- Revealing stroke (FX) / Controls / Write End
0· frame 0The first frame shows no path length.
- Revealing stroke (FX) / Controls / Write End
0.5· frame 24The middle key shows part of the unchanged path.
- Revealing stroke (FX) / Controls / Write End
1· frame 47The final frame reveals the entire path.
Reproduce the example
- Create a transparent 640×360 Background CANVAS with RGBA=0/0/0/0. Connect it to the main Worm image input (Image in the historical author version; Input in the teaching graph).
An explicit canvas fixes input size and transparency.
Check: CANVAS is fully transparent and Worm receives an image; subsequent Alpha shows pen coverage.
- Add a fresh Worm through Select Tool and reset it. Use a 640×360, 24 fps composition. Enter the specified Controls and first two Curve-row values; keep other rows at Continue, Length=0 and Curve=0. Type 1 / Length 1 denote the first Curve row, not a separate tool. Extend the range to 0–47. Set the second segment to Angle=0, Curve=90. Before animation temporarily set Write End=1 and inspect the entire path.
The completed shape must be legible before revealing it.
Check: A straight and curved portion are both inside the frame.
- Set an opaque white pen and dark BG. Combine both branches through MIX and feed MIX to OUT.
Constant opacity separates path-length reveal from overall fading.
Check: At Write End=1 the complete stroke is legible without Glow.
- Key Write End to 0 at frame 0, 0.5 at 24 and 1 at 47. Keep Write Start=0 and linear interpolation.
Only the displayed portion of the same path changes.
Check: The revealed length increases across the three control frames.
- Play frames 0–47 and stop at 0, 24 and 47. If a round cap makes the start look like a dot, compare Simple and restore Round.
Zero length and cap styling can affect the exact first-frame appearance.
Check: The completed path stays in place; only its visible portion changes.
Expected result
- Output (OUT) · frame 0
The stroke is at Write End=0; inspect any initial cap visibility separately.
Alpha: MIX background remains opaque.
- Output (OUT) · frame 24
Part of the curve is visible with unchanged width and color.
Alpha: The reveal does not use reduced overall pen Opacity.
- Output (OUT) · frame 47
The complete previously defined path is visible.
Alpha: Final Alpha stays opaque because of BG.
When the result differs
- The whole stroke fades instead of revealing along the path.
Cause: The keys were placed on Pen Opacity or Alpha.
Correction: Remove the incorrect keys and animate Write End with Opacity=1.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21: Worm
Printed p.2484: Worm creates straight and curved lines. Shading parameters are verified against the user screenshot; historical Curve labels are statically inspected in the author Krokodove 8.30 archive, not claimed as native execution.
- Komkom Doorn — Krokodove 8.30 authored controls
Official author download linked from https://www.komkomdoorn.com/krokodove/ . Static, nonexecuting inspection of KEffectWorm parameter-registration strings: Start, Length/Angle/Curve, Write Start/End and pen styling. Historical control definitions, not a Resolve 21 runtime certification. The inherited KTool::AddEffectInputs / AddInputKD adapter registers a standard image input independently of ImagesInitialise(0). This supports retaining the original optional canvas port, without claiming a Resolve 21 native port audit.
Color through a stroke mask
Extract Worm Alpha through Bitmap and recolor the stroke independently on Background.
Starting conditions
DaVinci Resolve 21 · Worm 21 · editorial reference 2026-10-19 · DaVinci Resolve 21, Fusion page, integrated Krokodove toolset with Worm. · Target OS is not fixed; native verification is pending.
640 × 360 · 24 fps · 24 frames · Procedural pen RGBA on a transparent 640×360 canvas. Inspect pen color and Alpha separately and use identical color processing in compared branches.
- Worm from Resolve 21 Krokodove and native Background/Merge/Bitmap. Enter settings manually; geometry labels are checked against static author definitions in Krokodove 8.30, and Shading against the current archive screenshot.
- A transparent Background supplies an explicit canvas at the main image input. Input in the teaching graph denotes this socket, registered as Image in the historical author adapter.
Nodes and connections
CANVAS— Transparent canvas · BackgroundFX— Stroke source · WormBITMAP— Alpha to mask · BitmapMaskCOLOR— Stroke color · BackgroundOUT— Output · MediaOut
| Source | Destination | Data |
|---|---|---|
Transparent canvas (CANVAS)Output | Stroke source (FX)Input | image |
Stroke source (FX)Output | Alpha to mask (BITMAP)Image | image |
Alpha to mask (BITMAP)Mask | Stroke color (COLOR)EffectMask | mask |
Stroke color (COLOR)Output | Output (OUT)Input | image |
Graph output: Output (OUT)
Parameter values
- Transparent canvas (CANVAS) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Transparent canvas (CANVAS) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Transparent canvas (CANVAS) / Color / Red / Green / Blue / Alpha
[0,0,0,0]Explicitly defines source channels and opacity.
- Stroke source (FX) / Controls / Start
[0.2,0.4]The short path begins inside the frame.
- Stroke source (FX) / Controls / Reposition around worm center
falseKeeps placement relative to the stated Start.
- Stroke source (FX) / Controls / Global Length
1Avoids an additional global length scale.
- Stroke source (FX) / Controls / Offset
0Keeps the sequence start unchanged.
- Stroke source (FX) / Controls / Repeat worm
1Keeps one sequence pass.
- Stroke source (FX) / Controls / Replicate worm
1Keeps one stroke instance.
- Stroke source (FX) / Controls / Write Start
0The visible range starts at the beginning of the path.
- Stroke source (FX) / Controls / Write End
1Exposes the whole path while shaping.
- Stroke source (FX) / Curve / Type 1
"Continue"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Define By 1
"Length"Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Length 1
0.25Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Angle 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Curve 1
0Explicitly defines segment 1 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Type 2
"Continue"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Define By 2
"Length"Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Length 2
0.25Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Angle 2
90Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Curve / Curve 2
0Explicitly defines segment 2 geometry; numbered names refer to the Curve rows.
- Stroke source (FX) / Shading / Red / Green / Blue / Alpha
[1,1,1,1]White isolates geometry and Alpha from color.
- Stroke source (FX) / Shading / Pen Opacity
0.6Fixes pen opacity.
- Stroke source (FX) / Shading / Pen Thickness
0.025A thick control stroke exposes joins and caps.
- Stroke source (FX) / Shading / Pen Thickness Bias
0Keeps a neutral profile for comparison.
- Stroke source (FX) / Shading / Pen Join Type
"Round"Fixes the baseline join style.
- Stroke source (FX) / Shading / Pen End Type
"Round"Sets an explicit cap style for open endpoints.
- Stroke source (FX) / Shading / Pen End Type Roundness
1Provides a control round cap.
- Alpha to mask (BITMAP) / Controls / Channel
"Alpha"Extracts actual pen coverage rather than color luminance.
- Alpha to mask (BITMAP) / Controls / Low
0Preserves the low end of the Alpha range.
- Alpha to mask (BITMAP) / Controls / High
1Avoids turning partial coverage into a hard matte.
- Stroke color (COLOR) / Image / Width / Height
[640,360]Fixes the procedural source format; disable Use Frame Format Settings if the fields are locked.
- Stroke color (COLOR) / Color / Type
"Solid Color"A solid color makes the comparison unambiguous.
- Stroke color (COLOR) / Color / Red / Green / Blue / Alpha
[0.1,0.65,0.95,1]Explicitly defines source channels and opacity.
Reproduce the example
- Create a transparent 640×360 Background CANVAS with RGBA=0/0/0/0. Connect it to the main Worm image input (Image in the historical author version; Input in the teaching graph).
An explicit canvas fixes input size and transparency.
Check: CANVAS is fully transparent and Worm receives an image; subsequent Alpha shows pen coverage.
- Add a fresh Worm through Select Tool and reset it. Use a 640×360, 24 fps composition. Enter the specified Controls and first two Curve-row values; keep other rows at Continue, Length=0 and Curve=0. Type 1 / Length 1 denote the first Curve row, not a separate tool. Use frames 0–23. Set Shading from the table with Pen Opacity=0.6.
A partially opaque pen supplies inspectable intermediate coverage.
Check: Worm has a visible stroke and transparent background; its Alpha is checked in the Viewer.
- Connect FX.Output to BITMAP.Image and set Channel=Alpha, Low=0, High=1.
Bitmap creates a single-channel mask from the raster image.
Check: The mask retains the soft edge and partial pen density.
- Create COLOR with the cyan RGBA values and connect BITMAP.Mask to COLOR.EffectMask. Send COLOR.Output to OUT.
Shape comes from Alpha while final RGB belongs to Background.
Check: The stroke is cyan and its coverage follows the source Worm.
- At frame 12 temporarily change Worm pen RGB while keeping Alpha=1 and Opacity=0.6. Then compare Opacity=0.6 and 1 and restore 0.6.
Source RGB should not recolor the result through selected Alpha; coverage should respond to opacity.
Check: The result stays cyan while Alpha changes with Opacity.
Expected result
- Output (OUT) · frame 12
A cyan stroke gets its shape from Worm through Bitmap Alpha; Worm pen color does not control final RGB.
Alpha: The transparent background and partial stroke coverage are retained in COLOR output.
When the result differs
- Changing pen RGB changes the mask.
Cause: Bitmap selects a color channel or Luminance.
Correction: Restore Channel=Alpha and first inspect FX Alpha.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21: Worm
Printed p.2484: Worm creates straight and curved lines. Shading parameters are verified against the user screenshot; historical Curve labels are statically inspected in the author Krokodove 8.30 archive, not claimed as native execution.
- Komkom Doorn — Krokodove 8.30 authored controls
Official author download linked from https://www.komkomdoorn.com/krokodove/ . Static, nonexecuting inspection of KEffectWorm parameter-registration strings: Start, Length/Angle/Curve, Write Start/End and pen styling. Historical control definitions, not a Resolve 21 runtime certification. The inherited KTool::AddEffectInputs / AddInputKD adapter registers a standard image input independently of ImagesInitialise(0). This supports retaining the original optional canvas port, without claiming a Resolve 21 native port audit.
Other outlines from the article
Open callout
Worm creates a separate layer and Merge composites it over the background.
- Transparent Background → Worm.Input
- Worm → Merge.Foreground
- Background → Merge.Background
- Merge → MediaOut
Mask from Alpha
Bitmap explicitly converts raster-stroke Alpha into a mask.
- Transparent Background → Worm.Input
- Worm
- Bitmap: Alpha
- Background: EffectMask
- MediaOut
Line reveal
Write End changes the visible portion while the path stays fixed.
- Transparent Background → Worm.Input
- Worm: Write End
- Merge
- MediaOut
Mistakes
- Testing Join on a straight line and concluding that it has no effect.
- Evaluating End on a contour without visible open endpoints.
- Changing geometry and thickness together and losing track of the cause.
- Treating the raster RGBA layer as if it were already a single-channel mask.
- Concealing a poor join with strong Glow instead of correcting the path.
Tips
- Compare pen styling on an open bent path over a contrasting background.
- Bias=0 is a useful neutral starting point for inspecting thickness.
- Inspect thin strokes at final size as well as in a zoomed Viewer.
- In a mask branch, change color on the Background after Bitmap while retaining the shape’s Alpha.
- For a Write End animation, keep Write Start and all geometry fixed.
Workflow order
- Create a 640×360, 24 fps composition. Connect a transparent Background (RGBA=0/0/0/0) to the main Worm image input and show Worm in a Viewer.
- Place Start inside the frame in Controls; keep a short open path with one bend in Curve.
- In Shading start with white Pen Color, Alpha=1, Pen Opacity=1 and Bias=0.
- Choose thickness, then compare Join at the bend and End at an open endpoint.
- Use Merge for compositing; use Bitmap with Channel=Alpha for a mask.
- Inspect RGB, Alpha and the full animation range at 100% Viewer scale.
