Sub-Pixel Path Measurement
Calculates exact vector path contour lengths automatically, generating tailored stroke-dasharray and dashoffset values for glitch-free continuous line drawing.
Create self-contained animated vector illustrations and icons using pure CSS stroke-dasharray line drawing. Upload any custom SVG or pick from samples, configure timing and stroke parameters, and export production-ready vector files.
Loading paths...
Self-contained animated SVG with embedded CSS keyframes.
Upload your own vector artwork, paste raw SVG markup, or choose from curated samples like Mountain Landscape or Hexagonal Prism.
Choose Forward, Reverse, or All-together drawing. Configure stroke width, round, square, or flat linecaps, stagger intervals, easing curves, and color options.
Download the self-contained animated SVG file with embedded CSS keyframes or copy the markup. It plays smoothly everywhere with zero runtime scripts.
Calculates exact vector path contour lengths automatically, generating tailored stroke-dasharray and dashoffset values for glitch-free continuous line drawing.
Embeds keyframe rules inside the SVG markup so you can drop the animated file directly into static sites, documentation, or CMS pages.
Generates clean CSS @keyframes stroke-dasharray rules with built-in reduced-motion support—ready for inline HTML, <img> tags, or CSS backgrounds.
The line-drawing effect measures the exact contour length of each path, sets stroke-dasharray and initial stroke-dashoffset equal to that length so the stroke starts hidden, and then animates stroke-dashoffset down to 0 via CSS @keyframes.
Yes. All required @keyframes rules, custom CSS variables, and path classes are embedded directly in a <style> block inside the SVG file. You can use the downloaded .svg directly inside an <img> tag, <object>, or inline HTML without external JavaScript.
Yes. You can animate all paths at once (All), sequentially from first to last (Forward), or in reverse order (Reverse), and fine-tune the stagger delay between consecutive strokes.
Stroke-dasharray path drawing animates <path> elements. If your SVG uses primitive shapes like <circle>, <rect>, <polygon>, or live <text>, convert those shapes or outlines to paths in your vector editor (such as Figma, Illustrator, or Inkscape) before importing.
The exported SVG automatically includes a <title> element linked via aria-labelledby, role="img", and a @media (prefers-reduced-motion: reduce) rule that disables animation loops and immediately reveals the full stroke and fill.
Inspect and edit palette swatches, stroke colors, and fills across SVG files.
Convert vector SVG graphics into crisp raster PNGs at custom scale factors.
Build custom multi-step CSS @keyframes animations with timing controls and live playback.