Hand-drawn SVG stroke animation
Give the SVG line a "dotted line interval as long as the line", and push the starting point to length → 0 to make the line appear to be drawn, and slightly shake the point to create a hand-drawn feeling.
- Category
- 2D drawing
Technical terms · SVG line drawing animation (stroke-dashoffset) · stroke-dasharray · getTotalLength · getPointAtLength · Hand-drawn jitter (wobble)