Pulsar
1×

Veil

Medium

Two long tilted washes of ink laid over each other with a small accent between, like layered tissue.

“Copy the hero” is the styles and the SVG, carrying the colours and speed you set above. “Copy as a section” adds the wrapper a hero actually needs: the SVG absolute behind the copy, inert to the pointer, and a scrim so the heading holds. The Free licence asks for one visible credit per page: Animation by Pulsar, linked to Pulsar. Licence

Tech
CSS, no JavaScript
Longest band
27 s, mirrored, loops
Canvas
1600 by 900, crops to fill
Default tone
Light ground: ground #f7f7fb, ink #1d1b3a
Series
aurora
Tags
gradientsoftdiagonal

The four variables

Set any of these on the section, or on any ancestor, and the hero follows. Nothing else in the file needs editing.

--pulsar-hero-bg
the ground, default #f7f7fb
--pulsar-hero-ink
the strokes, default #1d1b3a
--pulsar-accent
the accented strokes
--pulsar-hero-speed
a rate: 2 is twice as fast, 0.5 half speed

Files

Animated SVG
One file, styles inside it, animates in an img tag or on its own.Download animated SVG
Still
Veil, not animated
Download SVG

The code

As a section

<!-- Pulsar by Business Nebula · "hero-aurora-veil" · https://pulsaricons.com | Licence: https://pulsaricons.com/legal/licence | Free-licence credit: Animation by Pulsar, linked to https://pulsaricons.com | Business Nebula: https://businessnebula.com.au -->
<style>
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 5rem 5%;
  color: #1d1b3a;
  background: #f7f7fb;
}
.hero > .pulsar-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* A scrim under the copy, heavier on the side the text sits on. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, #f7f7fb 0%, color-mix(in oklab, #f7f7fb 78%, transparent) 40%, transparent 68%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}
/* Generated by scripts/hero-aurora.mjs from heroes/hero-aurora-veil/params.json.
   Consumers set four custom properties on any ancestor:
     --pulsar-hero-bg     the ground          (default #f7f7fb)
     --pulsar-hero-ink    the soft blobs      (default #1d1b3a)
     --pulsar-accent      the accent blobs    (default #8a7df7)
     --pulsar-hero-speed  a rate; 2 is twice as fast, 0.5 half speed */
.pulsar-hero-aurora-veil {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--pulsar-hero-ink, #1d1b3a);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-ground {
  fill: var(--pulsar-hero-bg, #f7f7fb);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-accent-stop {
  stop-color: var(--pulsar-accent, #8a7df7);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-ground-stop {
  stop-color: var(--pulsar-hero-bg, #f7f7fb);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band {
  transform-box: view-box;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-1 {
  transform-origin: 1250px 250px;
  animation-name: hero-aurora-veil-band-1;
  animation-duration: calc(21s / var(--pulsar-hero-speed, 1));
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-2 {
  transform-origin: 1000px 700px;
  animation-name: hero-aurora-veil-band-2;
  animation-duration: calc(27s / var(--pulsar-hero-speed, 1));
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-3 {
  transform-origin: 1500px 520px;
  animation-name: hero-aurora-veil-band-3;
  animation-duration: calc(15s / var(--pulsar-hero-speed, 1));
}
@keyframes hero-aurora-veil-band-1 {
  from {
    transform: translate(-50px, -20px) scale(0.95);
  }
  to {
    transform: translate(50px, 20px) scale(1.05);
  }
}
@keyframes hero-aurora-veil-band-2 {
  from {
    transform: translate(60px, 20px) scale(0.95);
  }
  to {
    transform: translate(-60px, -20px) scale(1.05);
  }
}
@keyframes hero-aurora-veil-band-3 {
  from {
    transform: translate(-40px, -24px) scale(0.95);
  }
  to {
    transform: translate(40px, 24px) scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-1,
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-2,
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-3 {
    animation: none;
  }
}
</style>
<section class="hero">
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="pulsar pulsar-hero pulsar-hero-aurora-veil" data-pulsar="hero-aurora-veil" preserveAspectRatio="xMidYMid slice" viewBox="0 0 1600 900"><metadata><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><rdf:Description><dc:title>hero-aurora-veil</dc:title><dc:creator>Pulsar by Business Nebula</dc:creator><dc:publisher>Business Nebula</dc:publisher><dc:source>https://pulsaricons.com/icons</dc:source><dc:relation>https://businessnebula.com.au</dc:relation><dc:rights>Pulsar licence, https://pulsaricons.com/legal/licence</dc:rights></rdf:Description></rdf:RDF></metadata><defs><radialGradient id="hero-aurora-veil-blob-1"><stop offset="0" stop-color="currentColor" stop-opacity=".22"></stop><stop offset=".45" stop-color="currentColor" stop-opacity=".12"></stop><stop offset=".78" stop-color="currentColor" stop-opacity=".03"></stop><stop offset="1" stop-color="currentColor" stop-opacity="0"></stop></radialGradient><radialGradient id="hero-aurora-veil-blob-2"><stop offset="0" stop-color="currentColor" stop-opacity=".16"></stop><stop offset=".45" stop-color="currentColor" stop-opacity=".09"></stop><stop offset=".78" stop-color="currentColor" stop-opacity=".02"></stop><stop offset="1" stop-color="currentColor" stop-opacity="0"></stop></radialGradient><radialGradient id="hero-aurora-veil-blob-3"><stop class="hero-aurora-veil-accent-stop" offset="0" stop-opacity=".4"></stop><stop class="hero-aurora-veil-accent-stop" offset=".45" stop-opacity=".22"></stop><stop class="hero-aurora-veil-accent-stop" offset=".78" stop-opacity=".06"></stop><stop class="hero-aurora-veil-accent-stop" offset="1" stop-opacity="0"></stop></radialGradient><linearGradient id="hero-aurora-veil-veil" x1="0" x2="1600" y1="0" y2="0" gradientUnits="userSpaceOnUse"><stop class="hero-aurora-veil-ground-stop" offset="0" stop-opacity=".9"></stop><stop class="hero-aurora-veil-ground-stop" offset=".3" stop-opacity=".55"></stop><stop class="hero-aurora-veil-ground-stop" offset=".62" stop-opacity=".12"></stop><stop class="hero-aurora-veil-ground-stop" offset="1" stop-opacity="0"></stop></linearGradient></defs><rect width="1600" height="900" class="hero-aurora-veil-ground"></rect><g class="hero-aurora-veil-band hero-aurora-veil-band-1"><ellipse cx="1250" cy="250" fill="url(#hero-aurora-veil-blob-1)" class="hero-aurora-veil-blob" rx="700" ry="300" transform="rotate(-8 1250 250)"></ellipse></g><g class="hero-aurora-veil-band hero-aurora-veil-band-2"><ellipse cx="1000" cy="700" fill="url(#hero-aurora-veil-blob-2)" class="hero-aurora-veil-blob" rx="800" ry="260" transform="rotate(6 1000 700)"></ellipse></g><g class="hero-aurora-veil-band hero-aurora-veil-band-3"><ellipse cx="1500" cy="520" fill="url(#hero-aurora-veil-blob-3)" class="hero-aurora-veil-blob" rx="380" ry="300"></ellipse></g><rect width="1600" height="900" fill="url(#hero-aurora-veil-veil)" class="hero-aurora-veil-veil"></rect></svg>
  <div class="hero-scrim" aria-hidden="true"></div>
  <div class="hero-copy">
    <h1>Your heading</h1>
    <p>Your supporting sentence.</p>
    <a href="#">Your call to action</a>
  </div>
</section>

animation.css

/* Generated by scripts/hero-aurora.mjs from heroes/hero-aurora-veil/params.json.
   Consumers set four custom properties on any ancestor:
     --pulsar-hero-bg     the ground          (default #f7f7fb)
     --pulsar-hero-ink    the soft blobs      (default #1d1b3a)
     --pulsar-accent      the accent blobs    (default #8a7df7)
     --pulsar-hero-speed  a rate; 2 is twice as fast, 0.5 half speed */
.pulsar-hero-aurora-veil {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--pulsar-hero-ink, #1d1b3a);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-ground {
  fill: var(--pulsar-hero-bg, #f7f7fb);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-accent-stop {
  stop-color: var(--pulsar-accent, #8a7df7);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-ground-stop {
  stop-color: var(--pulsar-hero-bg, #f7f7fb);
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band {
  transform-box: view-box;
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-1 {
  transform-origin: 1250px 250px;
  animation-name: hero-aurora-veil-band-1;
  animation-duration: calc(21s / var(--pulsar-hero-speed, 1));
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-2 {
  transform-origin: 1000px 700px;
  animation-name: hero-aurora-veil-band-2;
  animation-duration: calc(27s / var(--pulsar-hero-speed, 1));
}
.pulsar-hero-aurora-veil .hero-aurora-veil-band-3 {
  transform-origin: 1500px 520px;
  animation-name: hero-aurora-veil-band-3;
  animation-duration: calc(15s / var(--pulsar-hero-speed, 1));
}
@keyframes hero-aurora-veil-band-1 {
  from {
    transform: translate(-50px, -20px) scale(0.95);
  }
  to {
    transform: translate(50px, 20px) scale(1.05);
  }
}
@keyframes hero-aurora-veil-band-2 {
  from {
    transform: translate(60px, 20px) scale(0.95);
  }
  to {
    transform: translate(-60px, -20px) scale(1.05);
  }
}
@keyframes hero-aurora-veil-band-3 {
  from {
    transform: translate(-40px, -24px) scale(0.95);
  }
  to {
    transform: translate(40px, 24px) scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-1,
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-2,
  .pulsar-hero-aurora-veil .hero-aurora-veil-band-3 {
    animation: none;
  }
}

More in this series10 in aurora

All heroes