Paeth rotation is the algorithm for implementing sprite rotation using three shears. It was a popular demo scene trick and is still used by ImageMagick.

I'm rotating some tiny sprites under a low-color palette with nearest neighbor rotation, and they look horrible of course. I wondered, will Paeth rotation look better? The answer is, no, it gives exactly the same result as nearest neighbor--the advantage was integer perf, not quality.

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.