5 releases
0.1.4 | Apr 7, 2023 |
---|---|
0.1.3 | Feb 19, 2020 |
0.1.2 | Feb 18, 2020 |
0.1.1 | Feb 18, 2020 |
0.1.0 | Feb 8, 2020 |
#94 in Rendering
24 downloads per month
Used in 4 crates
(3 directly)
63KB
447 lines
rotsprite
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 |
Example
Demos
WASM Demo
Web: https://tversteeg.nl/rotsprite/window
Uses the ["blit"]
feature flag.
Local
cargo run --example window
Credits
Dependencies
~3.5MB
~78K SLoC