Sunday, March 25, 2018

adobe illustrator - How to apply transparent gradient along each segment of a curve?


Say I have a white curve in black background:


enter image description here


The curve has some points cut it to separate segments. From point A in the line whose opacity is 100%, the transparency gradually increasing and then decreasing so that when it reach point B, the opacity is 100% again. The middle point of the segment, therefore, will be fadest. The longer the segment is, the fader the middle point is. This will repeat for other segments.


The idea is that when a pendulum swinging in the dark then in the extremes it is most visually clear, and its balance point is fadest, and the trajectory is gradiently going from clear to faded. I use Inkscape, but answers for other tools are welcomed, because I guess the terminology is the same.


An example is provided by @Joonas, except that the slider points to the 100% opacity points, not 0. And I don't know how to add more gradient points like that.




How can I make this effect in a curve?



Also ask on Reddit.



Answer





  • Place the image

  • Add a background black rectangle behind the image

  • Selecting the image > From the Transparency Panel > Make Mask


  • Transparency Panel > click the mask field to activate it

  • Make a circle > fill it with a radial gradient from white to black

  • Select the circle and pressing Alt to duplicate, move it

  • When ready > Transparency Panel > click back the editing area (the left square)


AI MASK



Shamelessly copied from Danielillo's answer from How to make multiple sneak peak holes?


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...