Uploaded January 2026 | Updated November 2026, 44 minutes ago
The secret to the stroked dashes is the "outline" filter provided in BoxySVG.
I just made a few copies of the stroke, changed color and position and animated them all with a single line of GSAP.
gsap.to(".stroke", {
strokeDashoffset: 140,
repeat: 200,
duration: 1,
ease: "none"
});
The dashes are 120px long with a 20px gap. That is why the strokeDashOffset is animated to 140.
learn GSAP at: creativeCodingClub.com
The secret to the stroked dashes is the "outline" filter provided in BoxySVG.
I just made a few copies of the stroke, changed color and position and animated them all with a single line of GSAP.
gsap.to(".stroke", {
strokeDashoffset: 140,
repeat: 200,
duration: 1,
ease: "none"
});
The dashes are 120px long with a 20px gap. That is why the strokeDashOffset is animated to 140.
learn GSAP at: creativeCodingClub.com










