ViewBox width in px
ViewBox height in px
Full waves across the width, 1–20
Peak height from the centre line
Extra harmonics, 1–6
Any CSS colour
Preview
The curve is a sum of sine waves normalised so the peak never exceeds the amplitude you set, sampled into points and joined with a smooth spline, then closed down to the edge to make a solid band. Invert fills the top edge instead of the bottom — useful for the header side of a section divider.
The preview is stretched to the full width of the card with
preserveAspectRatio="none" so you can see the whole wave; the generated file keeps true proportions. Long paths cost a little to paint, so keep the wave count low for full-bleed dividers.