# Scribble Cursor

**Group:** Cursor and hover effects  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/scribble-cursor.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/scribble-cursor.mp4)  
**Source:** [https://ui.aryank.space/components/scribble-cursor](https://ui.aryank.space/components/scribble-cursor)  
**Human:** https://blankinterfaces.com/lab/scribble-cursor

---

## What it is

A blue pen line that chases the pointer and redraws itself every frame with random control points, so it reads as a hand-drawn scribble. A chain of spring points follows the cursor and the line clears 100ms after the pointer stops. Tracks the whole page or only a hovered element. Canvas 2D, no dependencies.

## Behaviour

### Redrawn every frame

Nothing is kept between frames. The canvas clears, the spring chain steps once, and each segment is drawn as a quadratic curve whose control point lands at a new random offset, so the line wobbles in place even while the cursor holds a straight path.

### Only while moving

Each pointer move restarts a 100ms timer. When it runs out the canvas clears, so the scribble exists only during motion and never leaves a trail behind.

---

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