rotsprite
Rust implementation/library of the RotSprite algorithm.
Works with many types of pixel buffers.
Example
Left: Source Image Middle: Rotation using RotSprite Right: Naive rotation
Run the example
On Linux you need the xorg-dev
package as required by minifb. sudo apt install xorg-dev
Credits
RotSprite algorithm - Xenowhirl Pixel Art - Redshrike