rotsprite
Rust implementation/library of the RotSprite algorithm.
Works with many types of pixel buffers.
Example
Before rotation:
After 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 Example image - Buch