SVG Wave Generator
Draw a sine, triangle or stepped divider with a configurable amplitude, number of cycles, height and direction.
svg-wave-generatorLOCAL WORKSPACE
Enabling local controls…
Preview and export
SVG source
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="120" viewBox="0 0 1200 120" preserveAspectRatio="none"> <path d="M0 60 L18.75 67.804 L37.5 75.307 L56.25 82.223 L75 88.284 L93.75 93.259 L112.5 96.955 L131.25 99.231 L150 100 L168.75 99.231 L187.5 96.955 L206.25 93.259 L225 88.284 L243.75 82.223 L262.5 75.307 L281.25 67.804 L300 60 L318.75 52.196 L337.5 44.693 L356.25 37.777 L375 31.716 L393.75 26.741 L412.5 23.045 L431.25 20.769 L450 20 L468.75 20.769 L487.5 23.045 L506.25 26.741 L525 31.716 L543.75 37.777 L562.5 44.693 L581.25 52.196 L600 60 L618.75 67.804 L637.5 75.307 L656.25 82.223 L675 88.284 L693.75 93.259 L712.5 96.955 L731.25 99.231 L750 100 L768.75 99.231 L787.5 96.955 L806.25 93.259 L825 88.284 L843.75 82.223 L862.5 75.307 L881.25 67.804 L900 60 L918.75 52.196 L937.5 44.693 L956.25 37.777 L975 31.716 L993.75 26.741 L1012.5 23.045 L1031.25 20.769 L1050 20 L1068.75 20.769 L1087.5 23.045 L1106.25 26.741 L1125 31.716 L1143.75 37.777 L1162.5 44.693 L1181.25 52.196 L1200 60 V120 H0 Z" fill="#4b78ad"/> </svg>
How to use this tool
Choose a wave type and set its height and cycles. Flip the shape for the top or bottom of a section.
When not to use it
The 1,200-unit viewBox stretches to the rendered width. Twice the amplitude must fit inside the height.