Social images

Apricot Orb

Eighteen nodes at the highest Randomness value give an almost perfect circle with a soft flutter in the edge, under an apricot to rose gradient from the bottom-right corner.

gradientroundwarmsocial

Download

SVG file

Seed 6868 · 18 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.854" y1="0.854" x2="0.146" y2="0.146"><stop offset="0" stop-color="#eecda3"/><stop offset="1" stop-color="#ef629f"/></linearGradient></defs><path d="M475.5,289Q464,328,448.5,365.5Q433,403,403.5,434Q374,465,332.5,474.5Q291,484,250,484.5Q209,485,170,470.5Q131,456,98.5,430Q66,404,49,366.5Q32,329,19,289.5Q6,250,21.5,211.5Q37,173,50,133Q63,93,99,72Q135,51,173,39.5Q211,28,251,23.5Q291,19,331.5,29Q372,39,403,67Q434,95,458,130Q482,165,484.5,207.5Q487,250,475.5,289Z" fill="url(#blob-gradient)"/></svg>
CSS clip-path
.blob {
  width: 500px;
  height: 500px;
  clip-path: path("M475.5,289Q464,328,448.5,365.5Q433,403,403.5,434Q374,465,332.5,474.5Q291,484,250,484.5Q209,485,170,470.5Q131,456,98.5,430Q66,404,49,366.5Q32,329,19,289.5Q6,250,21.5,211.5Q37,173,50,133Q63,93,99,72Q135,51,173,39.5Q211,28,251,23.5Q291,19,331.5,29Q372,39,403,67Q434,95,458,130Q482,165,484.5,207.5Q487,250,475.5,289Z");
}
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.854" y1="0.854" x2="0.146" y2="0.146">
          <stop offset="0" stopColor="#eecda3" />
          <stop offset="1" stopColor="#ef629f" />
        </linearGradient>
      </defs>
      <path
        d="M475.5,289Q464,328,448.5,365.5Q433,403,403.5,434Q374,465,332.5,474.5Q291,484,250,484.5Q209,485,170,470.5Q131,456,98.5,430Q66,404,49,366.5Q32,329,19,289.5Q6,250,21.5,211.5Q37,173,50,133Q63,93,99,72Q135,51,173,39.5Q211,28,251,23.5Q291,19,331.5,29Q372,39,403,67Q434,95,458,130Q482,165,484.5,207.5Q487,250,475.5,289Z"
        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(475.5 * sx, 289.0 * sy);
  path.quadraticBezierTo(464.0 * sx, 328.0 * sy, 448.5 * sx, 365.5 * sy);
  path.quadraticBezierTo(433.0 * sx, 403.0 * sy, 403.5 * sx, 434.0 * sy);
  path.quadraticBezierTo(374.0 * sx, 465.0 * sy, 332.5 * sx, 474.5 * sy);
  path.quadraticBezierTo(291.0 * sx, 484.0 * sy, 250.0 * sx, 484.5 * sy);
  path.quadraticBezierTo(209.0 * sx, 485.0 * sy, 170.0 * sx, 470.5 * sy);
  path.quadraticBezierTo(131.0 * sx, 456.0 * sy, 98.5 * sx, 430.0 * sy);
  path.quadraticBezierTo(66.0 * sx, 404.0 * sy, 49.0 * sx, 366.5 * sy);
  path.quadraticBezierTo(32.0 * sx, 329.0 * sy, 19.0 * sx, 289.5 * sy);
  path.quadraticBezierTo(6.0 * sx, 250.0 * sy, 21.5 * sx, 211.5 * sy);
  path.quadraticBezierTo(37.0 * sx, 173.0 * sy, 50.0 * sx, 133.0 * sy);
  path.quadraticBezierTo(63.0 * sx, 93.0 * sy, 99.0 * sx, 72.0 * sy);
  path.quadraticBezierTo(135.0 * sx, 51.0 * sy, 173.0 * sx, 39.5 * sy);
  path.quadraticBezierTo(211.0 * sx, 28.0 * sy, 251.0 * sx, 23.5 * sy);
  path.quadraticBezierTo(291.0 * sx, 19.0 * sy, 331.5 * sx, 29.0 * sy);
  path.quadraticBezierTo(372.0 * sx, 39.0 * sy, 403.0 * sx, 67.0 * sy);
  path.quadraticBezierTo(434.0 * sx, 95.0 * sy, 458.0 * sx, 130.0 * sy);
  path.quadraticBezierTo(482.0 * sx, 165.0 * sy, 484.5 * sx, 207.5 * sy);
  path.quadraticBezierTo(487.0 * sx, 250.0 * sy, 475.5 * sx, 289.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.854, size.height * 0.854),
        Offset(size.width * 0.146, size.height * 0.146),
        const <Color>[Color(0xFFEECDA3), 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

Shapes like this one