Skip to main content
100%

A smiley moon with star and cloud

✓ Published2🌍 Public
MMing Liu
Last edited Sep 29, 2021
Created on Aug 31, 2021
Forked from SVG Fundamentals

This example depicts a starry night scene featuring a large golden smiley moon, a star, and a cloud. The moon is created using SVG circles with a Gaussian blur filter, while the eye uses a radial gradient. The star is a polygon, and the cloud is drawn with a path using relative arc commands. The SVG code directly defines all shapes and applies the blur effect via the `feGaussianBlur` filter.

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