一个 Rust 库,用于创建交互式数学动画
This is an animation library written in Rust, widely inspired by Manim and, unlike Manim, it allows interactivity thanks to WebAssembly, JavaScript and the web.
You must install the @mathlikeanim-rs/mathlikeanim-rs (the Rust core) package and the @mathlikeanim-rs/renderer, both from NPM. Then, write an importmap and a module script tag to load the library.
Python support is available, but for older versions of the library. We are working on updating the Python package to the latest version of the project. If you still want to use the Python package, you can install it by running:
pip install mathlikeanim-rs # It's an old version of the projectIf you want to contribute to this project, you can clone a fork of this repository and work with the Rust codebase or the TypeScript codebase, and then submit a pull request.
The Rust WASM core is available in the src directory. You can build it by running in the root directory:
make buildThe TypeScript renderer is available in the typescript directory. You can build it by running in the root directory:
make build-tsBy the moment we don't have any tests, so your contributions are welcome! Anyways, you can serve the example page by running:
make serve-exampleIf you're developing Rust codebase, you can copy the built (with make build) files to the example page by running:
make copy-wasmIf you're developing TypeScript codebase, you can copy the built (with make build-ts) files to the example page by running:
make copy-tsAvailable here!
暂无开放 Issues,或尚未同步最近议题。