Crates.io | rotsprite |
lib.rs | rotsprite |
version | 0.1.4 |
source | src |
created_at | 2020-02-08 19:01:27.266849 |
updated_at | 2023-04-07 15:08:29.743854 |
description | Rotate sprites using the rotsprite algorithm |
homepage | |
repository | https://github.com/tversteeg/rotsprite |
max_upload_size | |
id | 206424 |
size | 151,673 |
Rust implementation/library of the RotSprite algorithm.
Works with many types of pixel buffers.
Left Picture | Middle Picture | Right Picture |
---|---|---|
Source Image | Rotated 30° using RotSprite | Rotated 30° using naive rotation |
Web: https://tversteeg.nl/rotsprite/window
Uses the ["blit"]
feature flag.
cargo run --example window