Skip to content

Instantly share code, notes, and snippets.

@avinashselvam
Created November 26, 2025 12:43
Show Gist options
  • Select an option

  • Save avinashselvam/bc2bf089bcfd379d66b590717ed5c526 to your computer and use it in GitHub Desktop.

Select an option

Save avinashselvam/bc2bf089bcfd379d66b590717ed5c526 to your computer and use it in GitHub Desktop.
Reve Loading Animation
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Animated White Noise</title>
<style>
body {
overflow: hidden;
margin: 0;
}
@property --p1 {
syntax: "<percentage>";
inherits: false;
initial-value: 75%;
}
.noise {
height: 100vh;
background:
radial-gradient(
at calc(3 * var(--p1)) calc(20% + 0.5 * var(--p1)),
cornflowerblue 0px,
transparent 70%
),
radial-gradient(
at calc(31% + 0.1 * var(--p1)) calc(70% + 2 * var(--p1)),
blue 0px,
transparent 80%
),
radial-gradient(
at calc(4% + 2 * var(--p1)) calc(14% + 3 * var(--p1)),
cyan 0px,
transparent 50%
),
deepskyblue;
animation: mix 2s ease-in-out infinite alternate;
}
@keyframes mix {
0% {
--p1: 0%;
}
100% {
--p1: 100%;
}
}
.noise:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: url("noise.svg");
mix-blend-mode: overlay;
}
</style>
</head>
<body>
<div class="noise" aria-hidden="true"></div>
</body>
</html>
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">
<filter id="noise" x="0" y="0">
<feTurbulence
type="fractalNoise"
baseFrequency="0.65"
numOctaves="3"
stitchTiles="stitch"
>
<animate attributeName="seed" values="0;100;0" dur="5s" repeatCount="indefinite" />
</feTurbulence>
<feBlend mode="screen" />
</filter>
<rect width="500" height="500" filter="url(#noise)" opacity="1" />
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment