rotsprite 0.1.0

Rotate sprites using the rotsprite algorithm
Documentation

rotsprite

Rust implementation/library of the RotSprite algorithm.

Works with many types of pixel buffers.

Example

Before rotation:

Example

After rotation:

Example

Run the example

On Linux you need the xorg-dev package as required by minifb. sudo apt install xorg-dev

cargo run --example minifb

Credits

RotSprite algorithm - Xenowhirl Example image - Buch