I've been experimenting with creating a loading animation inspired by the pre-loading animation on this website. My attempt using chat GPT resulted in an unexpected outcome where, instead of filling the SVG, it placed a black square on top of it. The ideal duration for the animation is about 2 to 3 seconds. I was close to getting it right, but Stack Overflow prevented me from posting my code due to its size. Below is the SVG code snippet:
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 1795 236" xmlns="http://www.w3.org/2000/svg" xmlns:v="https://svgstorm.com">
<g fill-opacity=".02" stroke="None">
... (SVG Path Data)
</g>
... (More SVG Path Data)
</svg>