Live preview · fully interactive
The prompt
Build a heavy blurred blob cursor. ## Look 180px circle, background #7c6cff, blur 28px, mix-blend-mode screen, opacity 0.85, over a 48px grid of rgba(242,242,247,0.05) lines. Page #08080d. ## Behavior Lerp position toward the pointer at 0.08 per frame so the blob feels heavy. ## Design tokens - Blob #7c6cff; grid line rgba(242,242,247,0.05); page #08080d. ## Motion - Lerp 0.08 per frame. Blur is static, not animated. ## Constraints - Single self-contained HTML file. No libraries. - Honor prefers-reduced-motion: reduce by skipping the loop and leaving a readable static frame - Readable at 390px width with no horizontal page scroll
The code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
background: #08080d; color: #f2f2f7; font-family: Inter, system-ui, sans-serif;
min-height: 100vh; overflow: hidden;
}
.hint { position: absolute; left: 16px; top: 16px; z-index: 5; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8a99; }
.grid { position: fixed; inset: 0; background-image: linear-gradient(rgba(242,242,247,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,242,247,0.05) 1px, transparent 1px); background-size: 48px 48px; } #blob { position: fixed; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; background: #7c6cff; filter: blur(28px); mix-blend-mode: screen; opacity: 0.85; pointer-events: none; }
@media (max-width: 420px) {
.hint { font-size: 10px; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
</style>
</head>
<body>
<div class="grid"></div><p class="hint">Heavy follow</p><div id="blob"></div>
<script>
var reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
var pointer = { x: window.innerWidth / 2, y: window.innerHeight / 2 };
var userMoved = false;
window.addEventListener("pointermove", function (e) {
userMoved = true;
pointer.x = e.clientX;
pointer.y = e.clientY;
});
function idlePointer(now) {
if (userMoved || reduce) return;
pointer.x = window.innerWidth * (0.5 + Math.cos(now / 700) * 0.28);
pointer.y = window.innerHeight * (0.5 + Math.sin(now / 900) * 0.2);
}
var blob = document.getElementById("blob");
var x = pointer.x, y = pointer.y;
function frame(now) {
if (reduce) return;
idlePointer(now);
x += (pointer.x - x) * 0.08;
y += (pointer.y - y) * 0.08;
blob.style.left = x + "px";
blob.style.top = y + "px";
requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
</script>
</body>
</html>About this effect
One 180px blurred circle uses mix-blend-mode screen and a slow lerp so it feels heavy. It sits over a faint grid so the blend is visible.