#animation #wgpu #manim

ranim

An animation engine inspired by manim and JAnim

5 releases

new 0.1.0-alpha.4 Mar 14, 2025
0.1.0-alpha.2 Mar 13, 2025
0.0.0 Dec 23, 2024

#87 in Video

Download history 117/week @ 2024-12-20 14/week @ 2024-12-27 1/week @ 2025-01-03 1/week @ 2025-01-10

209 downloads per month

MIT license

4.5MB
5.5K SLoC

Rust 4.5K SLoC // 0.1% comments WebGPU Shader Language 621 SLoC // 0.2% comments Just 19 SLoC // 0.2% comments

Ranim

Licence crates.io Check Website

https://github.com/user-attachments/assets/2176093e-758b-429b-89e0-2e3dd39b8a17

hello_ranim.mp4

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

Dependencies

~19–49MB
~844K SLoC