Skip to main content
100%

Fork of Exercise 1: SVG Fundamentals

✓ Published0🌍 Public
Ssirenajbpearl@gmail.com
Last edited Jul 31, 2024
Created on Jul 31, 2024

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 description

Sunrise/sunset.

MIT Licensed

Similar vizzes