5个版本

0.1.4 2023年4月7日
0.1.3 2020年2月19日
0.1.2 2020年2月18日
0.1.1 2020年2月18日
0.1.0 2020年2月8日

#82 in 渲染

29 每月下载量
用于 4 个Crate(3个直接使用)

AGPL-3.0-or-later

63KB
447 代码行

rotsprite

Rust实现的RotSprite算法库。

CI Version Rust Documentation License

支持多种像素缓冲区类型。

Large Small

左图 中图 右图
源图像 使用RotSprite旋转30° 使用简单旋转旋转30°

示例

演示

WASM演示

Web: https://tversteeg.nl/rotsprite/window

使用["blit"]功能标志。

本地

cargo run --example window

鸣谢

RotSprite算法 - Xenowhirl
像素艺术 - Redshrike

依赖项

~3MB
~58K SLoC