Using SVG to draw a Parametrized Egg Shape
HTML-код
- Опубликовано: 21 авг 2024
- In this video we look at some JavaScript to add elements to an empty SVG (Scalable Vector Graphics) element on a HTML page to draw an egg shape. The egg shape is constructed from four circular arcs (bottom, top and two sides). Unlike the "Moss Egg" and the "Pentagon Egg", in this version some of the geometric features are parametrized so that a variety of egg shapes can be generated.
www1.lasalle.edu/~blum/c152wks/SVG_New_Egg_3.html
www1.lasalle.edu/~blum/c152wks/SVG_New_Egg_4.html