Sketch 4 – Abby (Follower)

Abby smoothly follows your mouse cursor around the screen. Move your cursor to see her react and chase the target position.

✅ Conditional: Mouse-follow logic → if (dist(mouseX, mouseY, x, y) > 1) { x += (mouseX - x) * 0.05; }

✅ Loop: Continuous draw loop for motion updates

✅ Custom variables: position, speed, easing factor

⬇ Download sketch4.js