SVG animation delay on each repetition

前端 未结 5 1722
暗喜
暗喜 2020-12-30 12:34

I\'d like to add a delay to each iteration of an SVG animation loop. Here\'s a simple example.

5条回答
  •  别那么骄傲
    2020-12-30 13:03

    Here's a more elaborated version of Danjiro Daiwa's example without the hidden rectangle to synchronise the animation and without resorting to setting the orange circles out of the visible area to hide them, using opacity="0" instead. There are four animation running at the same time, a1/a2 for the movement, o1/o2 to hide the orange doppelganger circles when they're moving behind/over the blue circle, r1-r4 to change the radius r and f1-f4 to change fill colour.

    
      
        
        
        
        
        
        
      
    
      
    
      
        
        
        
        
        
        
      
    

提交回复
热议问题