I'm having trouble looping an animation on a trim curve for a spline with geo nodes. I basically want the end of the trim to go from 1 to 0, then wait (a little delay) for the start to go for 0 to 1, so it looks like a segment is moving. Eventually, I'll apply this for multiple splines all moving at their random speed. (but I think I can manage to do that). I keep trying and no success. I think I don't master math and modulo enough.
Like in this example: https://imgur.com/a/xkGRVED