Fork of Exercise 1: SVG Fundamentals
✓ Published0🌍 Public
This example presents an animated landscape with a sun and layered terrain, all rendered as a single SVG graphic. The scene depicts a day-night cycle through a sky gradient and land gradients that transition colors, while the sun moves down and up again. The visualization is built entirely with SVG fundamentals, using `<svg>` elements, `<radialGradient>` and `<linearGradient>` definitions, and `<path>` shapes for the landscape. Animations are driven by SVG's native `<animate>` element, which modifies the sun's vertical position and the gradient stop colors over a 15-second loop. The data source is the embedded SVG code itself, with no external data files.
AI-generated descriptionSunrise/sunset.
MIT Licensed