Skip to content
/ ranim Public

An animation engine implemented in pure rust, inspired by manim

License

Notifications You must be signed in to change notification settings

AzurIce/ranim

Repository files navigation

Ranim

output.mp4

basic.mp4

Ranim is an animation engine crate implemented in pure rust, inspired by Manim.

Warning

Currently, the project is WIP. It only supports some basic mobjects and animations, the apis are unstable and may change frequently, the documentation is also not complete.

Dependencies

Runtime dependencies:

  • typst: for fonts and maths rendering
  • ffmpeg: ranim spawns a ffmpeg process to encode videos

Installation

Currently, it is not published to crates.io, but you can add it to your Cargo.toml's [dependencies] section with git url:

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 and some PRs:

About

An animation engine implemented in pure rust, inspired by manim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages