Substation Routing
CSSAn electrical substation diagram with three busbars routes power paths as dynamic switches open and close in response to shifting network routes.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.5 s, loops
- Categories
- Decorative and illustrative
- Use cases
- Workflow and approvals, Automation and rules
- Industries
- Energy and utilities, Cross-industry
- Style
- Duotone · light stroke
- Set
- grid
- Tags
- gridlinegeometricui
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" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-grid-substation" data-pulsar="grid-substation" viewBox="0 0 160 96"><line x1="20" x2="140" y1="24" y2="24" stroke-width="2" opacity=".3"></line><line x1="20" x2="140" y1="48" y2="48" stroke-width="2" opacity=".3"></line><line x1="20" x2="140" y1="72" y2="72" stroke-width="2" opacity=".3"></line><circle cx="48" cy="24" r="3" stroke-width="1.5"></circle><circle cx="48" cy="48" r="3" stroke-width="1.5"></circle><circle cx="80" cy="48" r="3" stroke-width="1.5"></circle><circle cx="80" cy="72" r="3" stroke-width="1.5"></circle><circle cx="112" cy="24" r="3" stroke-width="1.5"></circle><circle cx="112" cy="72" r="3" stroke-width="1.5"></circle><line x1="48" x2="48" y1="27" y2="45" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="grid-sub-blade grid-sub-blade-1"></line><line x1="80" x2="80" y1="51" y2="69" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="grid-sub-blade grid-sub-blade-2"></line><line x1="112" x2="112" y1="27" y2="69" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 4" stroke-width="2" class="grid-sub-blade grid-sub-blade-3"></line><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" d="M20 24h28v24h32v24h60" class="grid-sub-route"></path></svg>
animation.css
.pulsar-grid-substation {
display: block;
overflow: visible;
}
.pulsar-grid-substation .grid-sub-blade-1 {
transform-origin: 48px 27px;
animation: grid-substation-sw1-anim 4500ms ease-in-out infinite;
}
.pulsar-grid-substation .grid-sub-blade-2 {
transform-origin: 80px 51px;
animation: grid-substation-sw2-anim 4500ms ease-in-out infinite;
}
.pulsar-grid-substation .grid-sub-route {
stroke-dasharray: 16 120;
animation: grid-substation-route-anim 4500ms linear infinite;
}
@keyframes grid-substation-sw1-anim {
0%,
35% {
transform: rotate(0deg);
}
45%,
85% {
transform: rotate(-35deg);
}
95%,
100% {
transform: rotate(0deg);
}
}
@keyframes grid-substation-sw2-anim {
0%,
40% {
transform: rotate(35deg);
}
50%,
90% {
transform: rotate(0deg);
}
100% {
transform: rotate(35deg);
}
}
@keyframes grid-substation-route-anim {
0% {
stroke-dashoffset: 136;
opacity: 0.2;
}
40%,
80% {
opacity: 1;
}
100% {
stroke-dashoffset: -136;
opacity: 0.2;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-grid-substation .grid-sub-blade-1,
.pulsar-grid-substation .grid-sub-blade-2,
.pulsar-grid-substation .grid-sub-route {
animation: none;
transform: none;
}
}