<svg xmlns="http://www.w3.org/2000/svg"> <text x="100" y="100" style="font: 32px sans-serif">hello<tspan x="100" y="140">hello</tspan> <animate attributeName="textLength" begin="-100s" dur="200s" values="50; 100; 100; 150"/> <set attributeName="lengthAdjust" to="spacingAndGlyphs"/></text> </svg>