Yield Curve Sweep
CSSA vertical sweep line periodically brushes across a curved asset yield path, triggering faint fading coordinates.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Backgrounds and ambient
- Use cases
- Dashboards and reporting, Ambient background
- Industries
- Finance and fintech, Cross-industry
- Style
- Technical · light stroke
- Set
- treasury
- Tags
- chartlinewipeambient
Companion assets
The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.
Code
animation.svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-treasury-interest" data-pulsar="treasury-interest" viewBox="0 0 160 96"><g stroke="currentColor" stroke-width="1.2" class="curve-axes" opacity=".35"><line x1="24" x2="24" y1="20" y2="76"></line><line x1="24" x2="136" y1="76" y2="76"></line><path d="M22 62h2m-2-14h2m-2-14h2m24 42v2m28-2v2m28-2v2m28-2v2"></path></g><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.75" d="M24 70c20-2 40-16 64-26 22-9 38-12 48-13" class="yield-curve"></path><line x1="24" x2="24" y1="20" y2="76" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 2" stroke-width="1.5" class="sweep-line" opacity=".8"></line><g fill="var(--pulsar-accent, currentColor)" class="curve-points"><circle cx="48" cy="64" r="2.5" class="pt p1"></circle><circle cx="88" cy="44" r="2.5" class="pt p2"></circle><circle cx="120" cy="34" r="2.5" class="pt p3"></circle></g></svg>
animation.css
.pulsar-treasury-interest {
display: block;
width: 100%;
height: 100%;
}
.pulsar-treasury-interest .sweep-line {
animation: treasury-interest-sweep 4s linear infinite;
}
.pulsar-treasury-interest .curve-points .pt.p1 {
animation: treasury-interest-beacon 4s ease-in-out infinite 0s;
}
.pulsar-treasury-interest .curve-points .pt.p2 {
animation: treasury-interest-beacon 4s ease-in-out infinite -2.7s;
}
.pulsar-treasury-interest .curve-points .pt.p3 {
animation: treasury-interest-beacon 4s ease-in-out infinite -1.4s;
}
.pulsar-treasury-interest .yield-curve {
animation: treasury-interest-curve-pulse 4s ease-in-out infinite;
}
@keyframes treasury-interest-sweep {
0% {
transform: translateX(0);
opacity: 0.2;
}
15%,
85% {
opacity: 0.9;
}
100% {
transform: translateX(112px);
opacity: 0.2;
}
}
@keyframes treasury-interest-beacon {
0%,
100% {
opacity: 0.3;
transform: scale(0.9);
}
20% {
opacity: 1;
transform: scale(1.4);
}
}
@keyframes treasury-interest-curve-pulse {
0%,
100% {
opacity: 0.7;
}
50% {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-treasury-interest .sweep-line,
.pulsar-treasury-interest .curve-points .pt.p1,
.pulsar-treasury-interest .curve-points .pt.p2,
.pulsar-treasury-interest .curve-points .pt.p3,
.pulsar-treasury-interest .yield-curve {
animation: none;
transform: none;
opacity: 0.7;
}
}