Animating Dynamic Line Work in Blender: A Practical Guide to Grease Pencil Thickness Modifiers
Learn how to animate Grease Pencil strokes in Blender, driving thickness from an armature rotation and keeping viewport performance in check. A step‑by‑step guide with practical tips and a trade‑off discussion.
11 Jan 2026, 08:57 UTC

Problem: Making 2D Line Art Respond to 3D Motion
Artists often need hand‑drawn strokes that change size, taper, or jitter as a character moves or an object deforms. In a 3D scene, the line art should feel like it’s part of the world, not a static overlay. Blender’s Grease Pencil lets you store strokes as vector data and animate their properties, but the workflow isn’t obvious to newcomers. This post shows how to set up a Grease Pencil object, keyframe its thickness, and link that thickness to a 3D armature, all while keeping viewport performance in check.
Core Capabilities of Grease Pencil
- Vector strokes – each stroke is a series of points, stored as vector data. This means you can scale, rotate, and deform strokes without pixelation.
- Layered materials – each layer can have its own material, opacity, and blend mode, letting you separate line art, color fills, and effects.
- Stroke modifiers – thickness, taper, jitter, and more can be animated or driven by other objects.
- Viewport integration – Grease Pencil objects receive scene lighting in Eevee and Cycles, and can be rendered as passes in the compositor.
Typical Workflow for a 2D Animation Inside a 3D Scene
- Add a Grease Pencil object –
Shift+A → Grease Pencil → Blank. - Draw in Draw mode – switch to
Drawfrom the interaction mode selector, then paint strokes with the Pencil tool. - Refine with Sculpt mode – switch to
Sculptto smooth or adjust individual points. - Animate stroke properties – open the
Propertiespanel, go to theStroketab, and insert keyframes for thickness, color, etc. - Link to 3D objects – use drivers or constraints to make a stroke property respond to a bone or object.
- Render or use as reference – enable
Grease Pencillayers in the compositor or render them directly.
Concrete Example: Thickness Driven by Armature Rotation
We’ll create a simple armature with one bone, draw a line that thickens as the bone rotates, and play back the animation. This demonstrates keyframe insertion, driver setup, and viewport verification.
1. Set Up the Scene
# In Blender 3.6+ (UI only, no command line required)
# 1. Add Grease Pencil
Shift+A → Grease Pencil → Blank
# 2. Switch to Draw mode
# 3. Draw a straight line from (0,0,0) to (2,0,0)
# 4. Add an armature
Shift+A → Armature → Single Bone
# 5. Position the bone so its head is at (0,0,0) and tail at (2,0,0)
# 6. Rename the armature to "BP_Armature" for clarity
2. Animate Thickness
- In the
Propertiespanel, select the Grease Pencil object, go to theStroketab. - Set the initial thickness to
1.0on frame 1. - Press
Ion theThicknessfield to insert a keyframe. - Move to frame 30, rotate the bone around the Z‑axis to 90°.
- In the
Stroketab, change thickness to4.0and pressIagain.
3. Add a Driver (Optional – for continuous response)
Instead of keyframing each frame, you can drive thickness directly from the bone’s rotation.
# Select the Grease Pencil object
# In the Stroke tab, right‑click the Thickness field → Add Driver
# In the Driver Editor, set the Type to "Averaged Value" and the Expression to
# "var * 0.05 + 1"
# Set the variable (var) to the bone’s Z‑rotation (in degrees). For example:
# var = BP_Armature.pose.bones["Bone"].rotation_euler[2]
# This maps 0° → 1.0 thickness, 90° → 5.0 thickness.
4. Verify in Viewport
- Switch the viewport shading to Material Preview or Rendered to see lighting affect the strokes.
- Press
Spacebarto play the animation. The line should grow thicker as the bone rotates. - Check the
Grease Pencillayers in the compositor if you plan to composite later.
Trade‑Off: Stroke Density vs. Performance
Grease Pencil strokes are vector points. When you draw complex scenes with thousands of points per frame, the viewport can lag, especially in Eevee or Cycles. Two practical mitigation strategies:
- Use the
Simplifymodifier – add it to a Grease Pencil layer, set a threshold to reduce points while preserving shape. - Limit keyframe resolution – keyframe only when necessary; rely on drivers for smooth interpolation.
To test performance, open the Viewport Overlays → Performance panel and watch the FPS. If it drops below 30 fps, simplify the strokes or reduce the number of layers.
Actionable Checklist
- Start with a
BlankGrease Pencil object. - Draw strokes in
Drawmode; refine inSculptmode. - Keyframe or drive stroke properties in the
Stroketab. - Link properties to 3D objects via drivers or constraints.
- Monitor viewport FPS; apply
Simplifyif needed. - Render or export as SVG/FBX for downstream use.
Conclusion
Grease Pencil’s vector strokes, layered materials, and driver‑friendly properties give artists a powerful way to blend hand‑drawn line art with 3D motion. By keyframing thickness or driving it from an armature, you can create dynamic, responsive line work that feels integrated into the scene. Keep an eye on stroke density to maintain performance, and you’ll have a robust pipeline for 2D animation inside a 3D environment.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.