Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Design and colour

Blob generator

Make a smooth, closed blob from a seed, with 3 to 12 points and adjustable randomness. Fill it with a color or gradient, then copy the path, SVG or clip-path, or download SVG and PNG.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Fill
Blob shape

Seed 20267 points, randomness 55%, fill #457B9D to #A8DADC

  • 7 cubic Bezier curves
  • Closed path
  • Same seed, same shape
Path data
M187.81 12.25 C236.65 15.69, 293.03 65.56, 324.99 100.29 C356.95 135.03, 392.1 180.64, 379.57 220.69 C367.04 260.73, 294.07 313.27, 249.81 340.56 C205.54 367.85, 149.89 398.67, 113.99 384.41 C78.08 370.15, 48.04 305.77, 34.38 254.99 C20.71 204.2, 6.43 120.15, 32 79.69 C57.57 39.24, 138.98 8.82, 187.81 12.25 Z
Path length
310 characters
SVG file
650 bytes
Download size
512 x 512 px

The shape is drawn from the seed alone, so the same seed with the same points and randomness always gives the same path. The clip-path is for a box of 400 x 400 px, because path() uses pixel coordinates.

How to use the SVG Blob Generator

  1. Type a Seed or press Randomize to get a new shape. The same seed always gives the same blob.
  2. Set Points (3 to 12) and Randomness (0% is a smooth circle-like shape, 100% is very irregular).
  3. Choose a Solid color or a Gradient, and set the colors and the angle.
  4. Pick a Download size, then press Download SVG or Download PNG.
  5. Use Copy path, Copy SVG or Copy clip-path to paste the shape into your code.

How do I make an organic blob shape in SVG?

Place a few points around a circle, nudge them at random, and draw one smooth closed curve through them with cubic Bezier segments. That is how this generator works. Each point gets an angle near its equal share of the circle and a radius a little under the full one. A curve then runs from each point to the next, and the shape is scaled to fill the 400 by 400 view box with a 12 unit margin.

The path uses three SVG commands. M moves to the first point. C draws a cubic Bezier curve and takes two control points and an end point, where the control points set the direction the curve leaves and enters. Z closes the path. The control points come from the neighbors: for the curve from point Pi to Pi+1, the first control point is Pi + (Pi+1 − Pi−1) ÷ 6, and the second is Pi+1 − (Pi+2 − Pi) ÷ 6. Because the tangent at each point follows the line between its two neighbors, the outline has no corners.

Worked example: seed 2026 with 7 points and randomness 55% gives a path that begins M187.81 12.25 C236.65 15.69 ... and has 7 curves in all. The table shows how the number of points changes the path for the same seed.

Points, curves and path length (seed 2026, randomness 55%)
PointsGap between pointsCurvesPath length
3120°3137 characters
490°4183 characters
572°5230 characters
660°6273 characters
845°8354 characters
1036°10438 characters
1230°12527 characters

Three points make a rounded triangle and four make a rounded square, while twelve points give a wavy edge. The path length grows with the number of curves, so more points mean a larger file.

How do I make the blob the same every time?

Use a seed. The shape comes only from the seed, the number of points and the randomness, never from Math.random(), so the same three values give the same path on every device. For example, seed blob with 6 points and 50% randomness always starts at M169.76 12.92. Fill color, gradient and download size do not change the shape.

A seed made only of digits, up to nine of them, is used as the number itself. Any other text is turned into a number with the FNV-1a hash, so a word or a name works as a seed too. That number feeds a small generator, mulberry32, which returns the same sequence of values for the same start. Randomize picks a new six-digit seed for you and shows it, so a shape you like can be written down and recreated.

Randomness controls how far the points stray from a perfect circle. The table lists the two effects: how far a point can be pulled toward the center, and how far its angle can shift as a share of the gap to the next point.

What the randomness setting changes
RandomnessRadius of each pointAngle shift
0%all on one circlenone
25%86.25% to 100%7.5% of the gap either way
50%72.5% to 100%15% of the gap either way
75%58.75% to 100%22.5% of the gap either way
100%45% to 100%30% of the gap either way

How do I use a blob as a CSS background, clip-path or fill?

Copy the SVG and save it as a file for a background, or paste it inline. The SVG has a viewBox, so it scales to any size. The default one, with a gradient, is 650 bytes; a solid fill is 430 bytes.

For a clip-path, press Copy clip-path. It writes clip-path: path(...) with the blob inside. MDN states that the coordinates in path() are implicit pixels, that the string cannot be built with var(), and that the function is widely available since July 2020. Because the units are pixels, the shape does not scale with the element: the copied path fits a box of 400 by 400 px. Put an image in a 400 px square and apply the clip-path to crop it to the blob.

A gradient fill runs along a line through the center of the shape. Angle 0 points up and 90 points right, as in CSS, and the first color is at the start of the line. The tool writes a linear gradient in user space so the colors do not stretch with the shape.

How do I animate a blob?

Morph between two blobs that have the same structure. Two seeds with the same number of points give paths with one M, the same number of C curves and one Z, in the same order, so a browser can interpolate between them. At 7 points that is 7 curves each. MDN shows the CSS d property transitioning between two paths with the same number of data points. It also marks the property as limited availability and not Baseline, so test in every browser you support, and consider an animation library as a fallback.

Blobs with different point counts do not morph smoothly, because their structures differ. Keep the point count the same and change only the seed.

Should I download SVG or PNG?

Download SVG when the place you use it accepts it. It stays sharp at any size and is small: 650 bytes for the default blob. PNG is a grid of pixels at the size you choose, 256, 512, 1024 or 2048 px square, with a transparent background. Use PNG where SVG files are not accepted. Both come from the same path. For turning other SVG files into PNG, use the SVG to PNG converter.

To pick colors that work together, try the tint and shade generator. To check that text on a blob is readable, use the contrast checker.

Use it with

Questions

How do I make a blob shape in SVG?

Draw a closed path with cubic Bezier curves through a few points placed around a circle. This tool does it from a seed: seed 2026 with 7 points gives 7 curves. Copy the path or the whole SVG.

Is the same seed always the same blob?

Yes. The shape depends only on the seed, the number of points and the randomness. Seed "blob" with 6 points and 50% randomness starts at M169.76 12.92 every time.

Can I use a blob as a CSS clip-path?

Yes. Press Copy clip-path to get clip-path: path(...). The coordinates are pixels, so it fits a box of 400 by 400 px and does not scale with the element.

How many points should a blob have?

Between 3 and 12. Three points make a rounded triangle, four a rounded square and twelve a wavy edge. Raise the randomness to make the shape less regular.

Should I download SVG or PNG?

SVG is sharp at any size and only 650 bytes for the default blob. PNG is fixed pixels, from 256 to 2048 px square, for places that do not accept SVG.

Is my seed or color sent to a server?

No. The shape is drawn in your browser, the PNG is made there too, and nothing you enter leaves your device.

Sources

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.