Alpha Gradient And Procedural Line

hi :wink: :wink:

new there :smiley:

I want to make something like that : I want to draw line procedurally for example like lightning ( youtube.com/watch?v=2fwH0EfVSxY

thank you in advance :wink: :smiley: :smiley:

if the line is a TOP, you can composite a gradient ramp over it. this would be the easiest thing if your lightning always went from top to bottom and you used a linear ramp. of course if the ends of the line are moving around the screen, the ramp will not move with it.

yeah I made it like that <3 but I need to lines procedurally draw like tree. what do you think how is it possible ?

if you are asking how to draw branching lines procedurally, I would look at L-systems, or glsl

That’s great! Is there a way that can be used when track matting a shape layer to act as a layer mask? For example, using a track matted shape layer to hide some text, but having it feathered like a normal mask?

you can use a matte TOP like a layer mask, and add a blur TOP in-between the mask “layer” TOP and the matte TOP to control the softness.