Skip to main content
100%

Fork of A smiley moon with star and cloud

✓ Published0🌍 Public
66264kusuma@gmail.com
Last edited Feb 28, 2024
Created on Feb 28, 2024

This example renders a stylized night scene in SVG, featuring a glowing smiley moon, two star-shaped polygons, and a circular sun on a dark blue background. The moon is drawn with a blurred gold ellipse, while the stars and sun use simple vector shapes. The visualization relies on SVG’s `<filter>` with `feGaussianBlur` for the moon’s glow effect, and radial gradients could enhance eye shading, though the code currently uses solid black circles. A bird image is embedded via `<image>`, and the scene is built entirely with inline SVG markup in an HTML document, with no external data sources.

AI-generated description

A smiley moon with star and cloud

Use SVG to draw a smiley moon, star and cloud

References:

Blur effect of moon: https://www.w3schools.com/graphics/svg_fegaussianblur.asp

Eye with a radial gradient from white to grey: https://www.w3schools.com/graphics/svg_grad_radial.asp

Star shape: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Basic_Shapes

Cloud shape: https://stackoverflow.com/questions/30919053/creating-a-responsive-cloud-shape

*This is a part of week 1 assignment: Make Something with SVG

MIT Licensed

Similar vizzes