Dynamic extrusion/long shadow effect similar to after effects.

I was wondering if there is a way to achieve the effect I mentioned in the title. I already tried G’MIC effects to see if I can do it somehow but unfortunately most of the G’MIC effect are broken. I am really in need of help.

Screenshot from 2021-02-10 16-41-05

There’s a lovely extrude gizmo on Nukepedia that looks like it could be replicated over in Natron, unfortunately I don’t have the time to do so but it works just fine in Nuke NC so if you want to have a go at porting it over (there’s some expressions involved but nothing ridiculous) perhaps that’s a place to start.

The global concept is to use directional blur. Here is a screenshot. Note the unpremult make the drop shadow opaque and the quality increase in the dirblur reduces the noise.