# Pixel Smear Wordmark

**Group:** Text effects  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/pixel-smear-wordmark.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/pixel-smear-wordmark.mp4)  
**Source:** [https://ui.aryank.space/components/pixel-smear-wordmark](https://ui.aryank.space/components/pixel-smear-wordmark)  
**Human:** https://blankinterfaces.com/lab/pixel-smear-wordmark

---

## What it is

A wordmark rendered to a canvas, uploaded as a texture, and sampled through a shader that drags it under the cursor. The displacement is not the pointer position, it is the pointer's velocity: each fragment snaps its UV to a forty by forty grid, measures the distance from that cell's centre to the cursor, and offsets its sample along the direction the cursor last travelled, scaled by a smoothstep falloff. So the letters only smear while the mouse is actually moving, and the grid quantisation is what makes the smear read as blocks rather than a smooth warp. Two easing rates are used deliberately: slow on enter and leave so the field settles, faster while moving so it tracks. Three.js.

## Behaviour

### Velocity displaces, not position

The offset is u_mouse minus u_prevMouse. Park the cursor and the wordmark snaps back to true even though the pointer is still over it, which is what makes it feel like drag rather than a lens.

### The grid snap is the whole look

Each fragment floors its UV to a 40x40 cell before measuring distance, so a whole block shares one offset. Without that quantisation the same maths gives a smooth liquid warp instead of chunks.

### Two easing rates, deliberately

0.035 while moving so it tracks the cursor, 0.01 on enter and leave so it drifts to rest. One rate would either lag during movement or snap at the edges.

---

[View all content](https://blankinterfaces.com/sitemap.md)
