Optimize speed
Optimize SVG
Change the algorithm of createLoops
Optimize speed