# Directional blur along curves

**URL:** <https://forum.logik.tv/t/directional-blur-along-curves/8366>\
**Category:** Flame Questions\
**Tags:** batch\
**Created:** [May 14, 2023, 7:19am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366 "2023-05-14T07:19:59Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [May 14, 2023, 7:19am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/1 "2023-05-14T07:19:59Z")

</div>

Does anyone know of an equivalent for this? I want to blur along a curved line. From a to b.

> **[SmoothKit - RE:Vision Effects](https://revisionfx.com/products/smoothkit/)**
>
> The ultimate blurring filter set that combines user directed controls and feature sensitive methods.

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.logik.tv/u/val)\
**Post date:** [May 14, 2023, 7:34am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/2 "2023-05-14T07:34:57Z")

</div>

It seems like this will do what you want

> **[Shader: Ls\_Splineblur](https://logik-matchbook.org/shader/Ls_Splineblur)**
>
> Splineblur - directional blur along the edges of a shape. Image on front input, shape with a big soft edge on map input. Make sure all inputs are 16-bit fp!
> 
> Demo: http://youtube.com/watch?v=CRUa3zv1t1M
> 
> lewis \_at\_ lewissaunders.com

---

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [May 14, 2023, 7:37am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/3 "2023-05-14T07:37:15Z")

</div>

As far as I recall, does this go perpendicular to the spline?

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.logik.tv/u/val)\
**Post date:** [May 14, 2023, 7:38am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/4 "2023-05-14T07:38:26Z")

</div>

Never use it, just know it exists

---

<div class="post-metadata">

**Author:** ![andy\_dill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andy_dill/32/15475_2.png) [@andy\_dill](https://forum.logik.tv/u/andy_dill)\
**Post date:** [May 14, 2023, 7:59am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/5 "2023-05-14T07:59:08Z")

</div>

Nah, it blurs parallel to the curve you make. It’s very good.

---

<div class="post-metadata">

**Author:** ![AdamArcher](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/adamarcher/32/3529_2.png) [@AdamArcher](https://forum.logik.tv/u/AdamArcher)\
**Post date:** [May 14, 2023, 11:48am UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/6 "2023-05-14T11:48:34Z")

</div>

Out of interest, what is the use case for this?

I’m always intrigued when someone asks for something I’ve never thought of and it makes me think that maybe I need to expand my knowledge.

---

<div class="post-metadata">

**Author:** ![kily](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@kily](https://forum.logik.tv/u/kily)\
**Post date:** [May 14, 2023, 12:11pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/7 "2023-05-14T12:11:29Z")

</div>

To soft an area with directional blur, but when only works in one specifical direction (and the ideal direction varies along a shape) . Beauty hair is a good example. Yo can watch demo video of Ls\_Spineblur

---

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [May 14, 2023, 1:04pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/8 "2023-05-14T13:04:02Z")

</div>

Hi @AdamArcher  
Here’s the reason - I’m painting up a frame and just want something to smooth out the tricky paint bits

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/b/bd53d279e2038f6aebdfab75d533b018a28d59be.jpeg "ReasonForDirBlur export") ](https://www.youtube.com/watch?v=8Tam2qAjhiI)

---

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [May 14, 2023, 2:09pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/9 "2023-05-14T14:09:08Z")

</div>

> [@andy\_dill](#):
>
> Nah, it blurs parallel to the curve you make. It’s very good.

Using this to help but it does still seem to blur perpendicular to the spline - or rather only on the edge of the spline @andy_dill .  
Compare the spline blur to dir blur. It would be great if we could to a dir blur starting at vertex 1 and then follow the path to the last vertex. I played about with the motion vectors node and some colours for about 5 minutes. It seems possible but I’ve got no idea how to program the colours to correspond to a direction drawn with a spline. Any ideas @lewis ? I imagine if Matchbox was used then it would have to understand which is the beginning of a line and be able to calculate the curves based on vertices? Until then I suppose I will stick to paintbox.

I made it work using paint ninja skills

 ![image](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/1/1e01427fedeca67981b5b7a175f54eeb8e0729d8.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/d/da2e2db5cb9916b15bc7aa53331c25b2b9691791.jpeg)

---

<div class="post-metadata">

**Author:** ![AdamArcher](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/adamarcher/32/3529_2.png) [@AdamArcher](https://forum.logik.tv/u/AdamArcher)\
**Post date:** [May 14, 2023, 6:44pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/10 "2023-05-14T18:44:03Z")

</div>

Could you create an element that constantly moves along your spine, but in the opposite direction to what you want to blur, put the element on a neutral colour that won’t change, feed that element into a motion analysis then pipe that into a motion blur which you’d feed your paint job into and use as a pseudo spline blur?

Not amazing but would that work as a hack?

---

<div class="post-metadata">

**Author:** ![johnt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/johnt/32/14040_2.png) [@johnt](https://forum.logik.tv/u/johnt)\
**Post date:** [May 14, 2023, 6:53pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/11 "2023-05-14T18:53:01Z")

</div>

Possibly. I just used paint instead though.

---

<div class="post-metadata">

**Author:** ![hBomb42](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@hBomb42](https://forum.logik.tv/u/hBomb42)\
**Post date:** [May 14, 2023, 7:17pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/12 "2023-05-14T19:17:38Z")

</div>

> [@AdamArcher](#):
>
> Out of interest, what is the use case for this?
> 
> I’m always intrigued when someone asks for something I’ve never thought of and it makes me think that maybe I need to expand my knowledge.

I’ve heard it’s useful for hair beauty work.

---

<div class="post-metadata">

**Author:** ![kirk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/kirk/32/151_2.png) [@kirk](https://forum.logik.tv/u/kirk)\
**Post date:** [May 14, 2023, 7:24pm UTC](https://forum.logik.tv/t/directional-blur-along-curves/8366/13 "2023-05-14T19:24:27Z")

</div>

> [@andy\_dill](#):
>
> Nah, it blurs parallel to the curve you make. It’s very good.

Isn’t there a switch for parallel vs perpendicular?

I usually end up doing two outputs from my gmask, one to drive direction and another for the holdout, but using the same tracking.
