Profile backdrops
Soft backgrounds
Violet Ripple
Fourteen nodes at the highest Randomness value leave a fine ripple around a circular body, with a violet to rose gradient running from the top-left corner toward the bottom-right.
gradientdenseroundbackground
Download
Seed 5050 · 14 nodes · randomness 9
Code
Copy the code.
SVG markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="100%"><defs><linearGradient id="blob-gradient" x1="0.146" y1="0.146" x2="0.854" y2="0.854"><stop offset="0" stop-color="#7c5cff"/><stop offset="1" stop-color="#ef629f"/></linearGradient></defs><path d="M466.5,300Q458,350,424,388Q390,426,347.5,458.5Q305,491,251,487.5Q197,484,147,463Q97,442,69,396Q41,350,26.5,300Q12,250,22.5,198Q33,146,69.5,108Q106,70,152,47Q198,24,250,23.5Q302,23,350.5,43.5Q399,64,430.5,106Q462,148,468.5,199Q475,250,466.5,300Z" fill="url(#blob-gradient)"/></svg>CSS clip-path
.blob {
width: 500px;
height: 500px;
clip-path: path("M466.5,300Q458,350,424,388Q390,426,347.5,458.5Q305,491,251,487.5Q197,484,147,463Q97,442,69,396Q41,350,26.5,300Q12,250,22.5,198Q33,146,69.5,108Q106,70,152,47Q198,24,250,23.5Q302,23,350.5,43.5Q399,64,430.5,106Q462,148,468.5,199Q475,250,466.5,300Z");
}
React component
/**
* Blob — generated by blobs.app.
*
* Drop this file into your project and render <Blob /> anywhere.
*/
import { useId } from 'react';
export interface BlobProps {
/** Rendered width and height. A number is treated as px. Defaults to 100%. */
size?: number | string;
/** Class name for the root svg element. */
className?: string;
/** Accessible name. Without it the graphic is hidden from assistive tech. */
title?: string;
}
export function Blob({ size = '100%', className, title }: BlobProps) {
// Unique per instance, so two blobs on one page never share a def id.
const uid = useId().replace(/[^a-zA-Z0-9]/g, '');
const titleId = `blob-title-${uid}`;
const gradientId = `blob-gradient-${uid}`;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 500 500"
width={size}
height={size}
className={className}
role={title ? 'img' : undefined}
aria-labelledby={title ? titleId : undefined}
aria-hidden={title ? undefined : true}
>
{title ? <title id={titleId}>{title}</title> : null}
<defs>
<linearGradient id={gradientId} x1="0.146" y1="0.146" x2="0.854" y2="0.854">
<stop offset="0" stopColor="#7c5cff" />
<stop offset="1" stopColor="#ef629f" />
</linearGradient>
</defs>
<path
d="M466.5,300Q458,350,424,388Q390,426,347.5,458.5Q305,491,251,487.5Q197,484,147,463Q97,442,69,396Q41,350,26.5,300Q12,250,22.5,198Q33,146,69.5,108Q106,70,152,47Q198,24,250,23.5Q302,23,350.5,43.5Q399,64,430.5,106Q462,148,468.5,199Q475,250,466.5,300Z"
fill={`url(#${gradientId})`}
/>
</svg>
);
}
export default Blob;
Flutter painter
// Generated by blobs.app.
//
// Paint the blob:
// CustomPaint(painter: BlobPainter(), size: const Size(300, 300))
//
// Or clip a widget to it:
// ClipPath(clipper: BlobClipper(), child: child)
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
/// The blob outline, scaled from its 500x500 design space to [size].
Path buildBlobPath(Size size) {
final double sx = size.width / 500.0;
final double sy = size.height / 500.0;
final Path path = Path();
path.moveTo(466.5 * sx, 300.0 * sy);
path.quadraticBezierTo(458.0 * sx, 350.0 * sy, 424.0 * sx, 388.0 * sy);
path.quadraticBezierTo(390.0 * sx, 426.0 * sy, 347.5 * sx, 458.5 * sy);
path.quadraticBezierTo(305.0 * sx, 491.0 * sy, 251.0 * sx, 487.5 * sy);
path.quadraticBezierTo(197.0 * sx, 484.0 * sy, 147.0 * sx, 463.0 * sy);
path.quadraticBezierTo(97.0 * sx, 442.0 * sy, 69.0 * sx, 396.0 * sy);
path.quadraticBezierTo(41.0 * sx, 350.0 * sy, 26.5 * sx, 300.0 * sy);
path.quadraticBezierTo(12.0 * sx, 250.0 * sy, 22.5 * sx, 198.0 * sy);
path.quadraticBezierTo(33.0 * sx, 146.0 * sy, 69.5 * sx, 108.0 * sy);
path.quadraticBezierTo(106.0 * sx, 70.0 * sy, 152.0 * sx, 47.0 * sy);
path.quadraticBezierTo(198.0 * sx, 24.0 * sy, 250.0 * sx, 23.5 * sy);
path.quadraticBezierTo(302.0 * sx, 23.0 * sy, 350.5 * sx, 43.5 * sy);
path.quadraticBezierTo(399.0 * sx, 64.0 * sy, 430.5 * sx, 106.0 * sy);
path.quadraticBezierTo(462.0 * sx, 148.0 * sy, 468.5 * sx, 199.0 * sy);
path.quadraticBezierTo(475.0 * sx, 250.0 * sy, 466.5 * sx, 300.0 * sy);
path.close();
return path;
}
class BlobPainter extends CustomPainter {
const BlobPainter();
@override
void paint(Canvas canvas, Size size) {
final Path path = buildBlobPath(size);
final Paint paint = Paint()
..isAntiAlias = true
..shader = ui.Gradient.linear(
Offset(size.width * 0.146, size.height * 0.146),
Offset(size.width * 0.854, size.height * 0.854),
const <Color>[Color(0xFF7C5CFF), Color(0xFFEF629F)],
);
canvas.drawPath(path, paint);
}
@override
bool shouldRepaint(covariant BlobPainter oldDelegate) => false;
}
/// Clips any widget to the same shape: ClipPath(clipper: BlobClipper(), ...).
class BlobClipper extends CustomClipper<Path> {
const BlobClipper();
@override
Path getClip(Size size) => buildBlobPath(size);
@override
bool shouldReclip(covariant CustomClipper<Path> oldClipper) => false;
}
Shapes