← Back to blog
The Art of Sub-Pixel Animation

The Art of Sub-Pixel Animation

Donald Cjapi·

What Is Sub-Pixel Animation?

Sub-pixel animation creates the illusion of movement smaller than one pixel by shifting colors and brightness rather than moving pixels. It's how experienced animators make tiny sprites feel smooth and alive.

How It Works

Instead of moving a pixel left or right, you change its color intensity. A bright pixel becoming dim while its neighbor becomes bright creates the appearance of smooth motion.

Common Uses

  • Idle breathing: A character's body gently expanding by shifting pixel colors
  • Flowing water: Highlights that appear to drift across a surface
  • Blinking eyes: Going from open to closed without actually moving pixels

The Technique

For a highlight that moves right:

  • Frame 1: Pixel A is bright, Pixel B is medium
  • Frame 2: Pixel A is medium, Pixel B is bright

The eye interpolates this as smooth lateral movement, even though no pixel actually changed position.

When to Use It

Sub-pixel animation works best at small scales (16x16 to 32x32) where traditional frame-by-frame animation would look too jerky. At larger resolutions, standard animation techniques are more effective.

Enjoyed this article?

Comments

No comments yet. Be the first!

Log in to comment