Crates.io | mathlikeanim-rs |
lib.rs | mathlikeanim-rs |
version | 0.13.0 |
source | src |
created_at | 2024-02-04 21:05:02.88928 |
updated_at | 2024-11-30 18:55:05.163836 |
description | A Rust library for creating mathematical animations |
homepage | |
repository | https://github.com/MathItYT/mathlikeanim-rs |
max_upload_size | |
id | 1126659 |
size | 592,840 |
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.
Interactivity.
Basic shapes.
Function plotting.
Animations in HTML Canvas and SVG.
Text rendering.
LaTeX rendering.
3D rendering.
Browser support.
Python support (coming soon).
If you want to start creating mathematical and interactive animations, you can install it by running:
npm i mathlikeanim-rs
You can embed the library in your HTML file by adding a script tag, and don't forget to include your HTML Canvas for raster animations or DIV container for SVG animations!
<script type="module">
import initWasm from './node_modules/mathlikeanim-rs/index.js';
initWasm().then((wasm) => {
...
});
</script>
If you want to contribute to this project, you can clone a fork of this repository and work with the Rust codebase.
By the moment we don't have any tests, so your contributions are welcome!
You can find the documentation of this project in https://mathlikeanim-rs.vercel.app/.