-
Control gradient ramp start/end on a beam
Hi,
I am using a beam effect to connect a series of different coloured dot-to-dots, with a gradient ramp on the beam. The start/end point of the gradient ramp is pick-wipped to position of the dots as they animate.
Is there any expression I can use to adjust the start and end point of the gradient on the beam? I need the gradient end points to start / end short of the dots.
I don’t want the gradient running behind right into each do but starting and stopping around 20% short of the start and end of the beam.
I tried adjusting the value, but it is not following the beam or scaling with it as it changes length.
Thanks
https://drive.google.com/open?id=19xUoj7UvvceGRE8w_CE3rFdIb6Wn_1XD
https://drive.google.com/open?id=1Qs-iJoZNZxeJxhlRR6zFwwSaSHvMQ8K6
effect("Beam")("Starting Point").value+100effect("Beam")("Ending Point").value-100