Ranim
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:
[]
= "0.1.0-alpha.1"
You can also use from git for the latest updates:
[]
= { = "https://github.com/azurice/ranim" }
For the usage, check out the examples folder. You can run the examples with:
and you can use --release flag for faster rendering.
Feature Flags
-
app: enable the preview app apiuse
run_scene_appAPI to launch an preview app on a scenehttps://github.com/user-attachments/assets/5bf287e2-b06f-42f8-83b6-76f3775e298e
-
profiling: enable profiling with https://github.com/EmbarkStudios/puffinCPU uses
127.0.0.1:8585and GPU uses127.0.0.1:8586
Design
Once the design is stablized, I may write about it.
For now, you can check out the code.