Fork of Exercise 1: SVG Fundamentals
✓ Published0🌍 Public
This example shows an animated sunset landscape with a gradient sky, a glowing sun, and two layers of rolling hills. The scene conveys a rhythmic day-to-night transition through the sky’s shifting colors and the sun’s vertical movement. It is built using raw SVG elements—including `rect`, `circle`, and `path`—with fill gradients defined in `<defs>`. The animation relies on inline SVG `<animate>` elements, which change the sun’s `cy` coordinate and alter gradient stop colors over time, producing a pulsating, cyclical visual effect without any JavaScript libraries.
AI-generated descriptionSunrise/sunset.
MIT Licensed