ToolsLightweight
SVG
Vector shapes on the page, crisp at any size.
Vector graphics made of real elements on the page, so you can style them with CSS and animate them. Logos that draw themselves, line illustrations and diagrams that stay crisp at any size. Past a thousand shapes it gets slow.
- Breaks when
- DOM cost explodes with many elementsfilters are slow on mobile
- Also called
- vector, inline SVG, SMIL
Prompts
Logo that draws itself
An inline SVG logo of 6 paths. On load, animate stroke-dashoffset from 1 to 0 with pathLength="1" so the CSS never depends on real lengths; stagger paths by 90 ms, 1.4 s each, cubic-bezier(.2,.8,.2,1), using the Web Animations API and no library. With prefers-reduced-motion, jump straight to the end state.
Morphing blob mask over a photo
An SVG <clipPath> built from a path with 8 anchors on a circle. Each frame, move every anchor by a 2D noise value (amplitude 12%) and rebuild d with cubic Béziers using a Catmull–Rom to Bézier conversion. Clip a photograph with it. Keep the loop under 0.5 ms per frame by writing exactly one attribute per frame.
Scatter diagram with real hover
An SVG scatter of 300 circles from a JSON array, one <g> per point holding the circle and a hidden label. CSS :hover reveals the label and keyboard focus does the same (tabindex, focus-visible). Axis lines at 0.5 px with vector-effect: non-scaling-stroke so zooming the viewBox never thickens them.
Related
Resources · 1
- anime.jsjuliangarniersite · code · demoApr 15, 2026