Skip to the generator
Wave & Blob

Mountain peaks

Open the generator

Free, no sign-up, runs in your browser.

Six points at near-full amplitude with the randomness well up, joined by straight lines. The uneven peaks are the point: a regular sawtooth reads as a pattern, while an irregular one reads as a landscape.

The settings behind it

The settings behind it
GeneratorWave
Points6
Amplitude95%
Randomness72%
Baseline58%
Layers1
Smoothness100%
Seed8801

What to know

What it costs in bytes

This exact shape is 231 bytes as an SVG and 392 bytes as a CSS background — the data URI is larger because percent-encoding costs three characters for every character it escapes. Both figures are for the shape shown above, at two decimal places of coordinate precision.

What it costs in bytes
Format Size
SVG231 B
CSS background392 B
CSS clip-path423 B

The start of the SVG for Mountain peaks

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path d="M-240 141.66L0 214.67L240 271.21L480 226.23L720 126.44L960 110.47L1200 168.16L1440 133.24L1440 320L-240 320Z" fill="#4f46e5"/></svg>

In more detail

Worth flipping vertically and using above a footer, where the peaks hang down like stalactites instead of rising. The flip is baked into the path rather than applied as a CSS transform, so the exported SVG stands alone either way.

Questions

How do I change Mountain peaks once I have it?

Open the generator, click Mountain peaks in the preset row, then drag anything. The preset is a starting point rather than a lock — every slider stays live, and the seed box takes a word if you would rather name your shape than number it.

Will it look the same next time?

Yes, as long as the seed is the same. This one is seed 8801 with 6 points. The generator is deterministic, so those settings reproduce this exact curve on any device.

Can I use a different colour?

Yes — colour is applied when you export, not baked into the geometry. The preview above uses the tool default; pick your own in the generator and the SVG, the CSS background and the clip-path all follow.

Every figure and every shape on this page was produced by running the generator at build time, so it describes the tool you are about to use rather than a version of it that once existed.

Related