You can add a
time uniform and use it in the fragment shader of the material:
I’ve added comments to the code.
Thanks a lot.
One more question for this example:
Is it possible change linewidth?
It needs the other approach:
Is it possible to make line movement? Because I used it and only problem is how to make movement dashed line.