Skip to main content

Harshal V. LADHE

SVG and Vector Graphics

Posts, tutorials, and snippets on Scalable Vector Graphics (SVG) — from coordinates, the viewBox, and basic shapes to mastering the path element and building custom vector icons.

Content in SVG

  • Post:SVG Essentials: Mastering the Path Element

    Understand SVG paths, curves, and commands
    A complete guide to the SVG path element — path commands, coordinates, bézier curves, arcs, compound paths and fill-rule, pathLength-based line-draw animation, CSS's path() function, stroke rendering, and the shorthand tricks behind exported path data.
    Published at:
    Categories:SVG
    Estimated reading time:20 min read
  • Post:SVG Polygon vs Polyline: Differences, Fill Rules, and Use Cases

    Same points, open or closed: fill rules, miters, sparklines.
    The difference between SVG polygon and polyline: fill rules by ray-crossing, stroke-miterlimit, generated points, sparklines, animation and accessible charts.
    Published at:
    Categories:SVG
    Estimated reading time:29 min read
  • Post:SVG Essentials: Mastering Shapes, Coordinates, and Styling

    Build sharp, scalable graphics with basic shapes.
    Learn how to build resolution-independent SVG graphics. Master the viewBox, coordinates, essential shapes, and CSS styling with fill, stroke, and hover animations.
    Published at:
    Categories:SVG
    Estimated reading time:18 min read