Hi All
I am creating an animation where I want a series of lines to draw in and then have other colours run along these lines at different intervals. Like pulses of electricity on an electrical circuit.
I have created a codepen to demonstrate what I am aiming for, but the way I am heading it will be a complex animation when I add all the other lines to create the circuitboard. Is there a more efficient way of coding this animation?
I would also like to resolve the following issues:
Second and third 'pulse' should be a fixed length (not grow during animation) and should not be visible apart from when they are moving.
I have tried setting negative percentages and fixed lengths for the lines but then they seem to appear at either the start or the end of the animation again as they are currently showing.
Lastly, I would like the final line to appear in the opposite direction so it draws towards the bigger line... How?
Thanks in advance,
Neil