Skip to main content
100%

Circle with Gradient

✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 3, 2021
Created on Sep 3, 2021
Forked from SVG Fundamentals

A full-screen SVG displays a single circle centered on a 960-by-500 canvas, rendered with a vertical linear gradient that transitions from a pale cream top to a warm brown bottom. The example uses the SVG `<circle>` and `<linearGradient>` elements, with `gradientUnits` set to `userSpaceOnUse` to align the gradient precisely to the circle’s bounding box. The static scene demonstrates how to create a subtle, polished 3D-like shading effect using only vector primitives and no JavaScript libraries.

AI-generated description

Neat 3D effect.

MIT Licensed

Similar vizzes