Skip to main content
100%

Fork of SVG Fundamentals Sunset/Sunrise

✓ Published2🌍 Public
AAkash Santosh Kuskar
Last edited Oct 16, 2023
Created on Oct 16, 2023

This example depicts an animated sunset and sunrise scene using a full-width SVG canvas. The visualization shows a glowing yellow sun that moves vertically against a backdrop of layered, undulating landscapes, creating a cyclical day-to-night transition. The animation is driven by SVG native `<animate>` elements, which modulate the sun’s vertical position and adjust the gradient colors of the sky and terrain over a 15-second loop. The scene is constructed with `<radialGradient>` and `<linearGradient>` definitions, with complex landscape shapes formed by SVG `<path>` elements.

AI-generated description

Sunrise/sunset.

MIT Licensed

Similar vizzes