8000 GitHub - AzurIce/ranim: An animation engine implemented in rust, inspired by manim and JAnim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AzurIce/ranim

Repository files navigation

Ranim Logo

Ranim

license crates.io commit
build check
stars
hello_ranim ranim_logo

examples/hello_ranim

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.11"

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.

Feature Flags

  • app: enable the preview app api

    use run_scene_app API to launch an preview app on a scene

    preview_app_timeline.mp4
  • profiling: enable profiling with https://github.com/EmbarkStudios/puffin

    CPU uses 127.0.0.1:8585 and GPU uses 127.0.0.1:8586

    image

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

About

An animation engine implemented in rust, inspired by manim and JAnim

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0