Skip to main content
100%

Fork of Exercise 1: SVG Fundamentals

✓ Published0🌍 Public
Mmontanoj96
Last edited Sep 26, 2021
Created on Sep 26, 2021

This example shows a stylized sunrise/sunset cycle over layered mountain landscapes, rendered as a full-screen SVG scene. The sky shifts through aliceblue, indigo, and steelblue while the sun rises and falls along a vertical path, animating continuously. The scene uses the SVG `<radialGradient>` and `<linearGradient>` definitions with `<animate>` elements to transition gradient stops and the sun’s `cy` attribute. Two `<path>` shapes fill with distinct gradients to create depth, all drawn directly in the markup without additional JavaScript libraries.

AI-generated description

Sunrise/sunset.

MIT Licensed

Similar vizzes