🌍 Public
Viewing a saved revision (read-only)
85ea891c61054c3c9620d9c62bc52d9e
Cubic Bezier Curve Path Command Test
This example demonstrates the SVG cubic Bézier curve path command, showing how a smooth, S-shaped line is drawn across a 100×100 viewBox. The code uses an inline SVG `<path>` element with the `d` attribute, applying the `C` (cubic Bézier) and `S` (smooth cubic Bézier) commands in absolute coordinates. A navy stroke with no fill renders the resulting two-segment curve, where the first segment is defined by explicit control points and the second mirrors them automatically via the `S` command. The rendering relies solely on native SVG syntax without any JavaScript libraries.
AI-generated descriptionAn example including some commonly used features of SVG.