SVG & Generative Art
SVG animations, generative art, masks and clip-path.
Updated
How do you animate SVG, and why use it instead of a GIF?
SVG animations stay sharp at any size and weigh a few kilobytes. Line drawing animates stroke-dashoffset against stroke-dasharray, fills and colours use CSS transitions, shapes morph between paths that share the same number of points, and generative art such as flow fields is computed in JavaScript and drawn as SVG or canvas.
How to choose, performance and accessibility
- Use Line Draw or Logo Draw to reveal a logo or an illustration, Animated Icons for interface feedback, and Perlin Flow Field or Geometric Tessellation as generative backgrounds.
- Compared with a GIF, SVG is lighter, scalable and restylable in CSS.
- Simplify complex paths, give meaningful graphics a
title, and hide purely decorative ones from screen readers witharia-hidden. - Line Draw, Perlin Flow Field and Text Mask Video are free with their full code; the rest come with Premium.
Your SVGs, with volume
The effects below animate your SVGs flat. The SVG to 3D generator gives them thickness: drop your file, set the material and the edges, and the object spins. A PNG logo works too — it gets traced on the way in.
The preview and the image are free. The code comes for $4.90 (this generator, unlimited exports) or with lifetime access.
Open the generatorLine Draw
SVG path that progressively draws itself using stroke-dasharray and dashoffset.
Effect page →View source code
<div class="fx-0599-root">
<svg class="lnd-svg" viewBox="0 0 150 150" aria-hidden="true">
<path class="lnd-path" pathLength="100" d="M20,75 L50,30 L80,60 L110,20 L130,50 M20,130 L60,90 L100,110 L130,80"/>
</svg>
</div>.fx-0599-root,.fx-0599-root *,.fx-0599-root *::before,.fx-0599-root *::after{box-sizing:border-box}
.fx-0599-root{--lnd-color:#6366f1;--lnd-stroke:3;--lnd-size:150px;--lnd-speed:3s;--lnd-repeat:infinite;--lnd-bg:rgb(26,26,36);--lnd-height:250px;display:flex;align-items:center;justify-content:center;width:100%;position:relative;color:#fff;font-family:sans-serif;height:var(--lnd-height);overflow:hidden;background:var(--lnd-bg)}
.fx-0599-root .lnd-svg{display:block;width:var(--lnd-size);max-width:100%;height:auto}
.fx-0599-root .lnd-path{fill:none;stroke:var(--lnd-color);stroke-width:var(--lnd-stroke);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:0;animation:lndDraw var(--lnd-speed) ease var(--lnd-repeat) both}
@keyframes lndDraw{0%{stroke-dashoffset:100}45%,55%{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
@media (prefers-reduced-motion:reduce){.fx-0599-root .lnd-path{animation:none}}/* Pure CSS — no JavaScript required */