#animation #wgpu #manim

ranim

An animation engine inspired by manim and JAnim

8 releases

Uses new Rust 2024

new 0.1.0-alpha.7 Mar 19, 2025
0.1.0-alpha.6 Mar 17, 2025
0.0.0 Dec 23, 2024

#91 in Graphics APIs

Download history 127/week @ 2024-12-22 4/week @ 2024-12-29 2/week @ 2025-01-05 287/week @ 2025-03-09 296/week @ 2025-03-16

583 downloads per month

MIT license

10MB
5.5K SLoC

Rust 5K SLoC // 0.1% comments WebGPU Shader Language 623 SLoC // 0.2% comments Just 19 SLoC // 0.2% comments
Ranim Logo

Ranim

license crates.io commit
build check
stars
getting_started3 ranim_logo

examples/getting_started3

examples/ranim_logo

Ranim is an animation engine crate implemented in pure rust, inspired heavily by Manim and jkjkil4/JAnim.

[!WARNING] Ranim is now WIP. It only supports some basic items and animations, the apis are unstable and may change frequently, the documentation is also not complete.

Dependencies

Runtime dependencies:

  • typst: fonts and maths rendering
  • ffmpeg: encode videos

Installation

Currently, it is experimental on crates.io:

[dependencies]
ranim = "0.1.0-alpha.1"

You can also use from git for the latest updates:

[dependencies]
ranim = { git = "https://github.com/azurice/ranim" }

For the usage, check out the examples folder. You can run the examples with:

cargo run --example <example-name>

and you can use --release flag for faster rendering.

Design

Once the design is stablized, I may write about it.

For now, you can check out the code.

Aknowledgements

Star History

Star History Chart

Dependencies

~19–50MB
~861K SLoC