# MathLikeAnim-rs

This is an animation library written in Rust, widely inspired by [Manim](https://manim.community/) and, unlike Manim, it allows interactivity thanks to WebAssembly, JavaScript and the web.
## Features
- [x] Interactivity.
- [x] Basic shapes.
- [x] Function plotting.
- [x] Animations in HTML Canvas and SVG.
- [x] Text rendering.
- [x] LaTeX rendering.
- [x] 3D rendering.
- [x] Browser support.
- [x] Python support.
## How to install it?
If you want to start creating mathematical and interactive animations, you can install it by running:
```bash
npm i mathlikeanim-rs
```
## How to use it in the browser?
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!
```html
<script type="module">
import initWasm from './node_modules/mathlikeanim-rs/index.js';
initWasm().then((wasm) => {
...
});
</script>
```
## How to use it in Python?
You can use the Python package to create animations in the same way you would do with the Rust library. You can install it by running:
```bash
pip install mathlikeanim-rs
```
## Development
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!
## Documentation
You can find the documentation of this project in [https://mathlikeanim-rs.vercel.app/](https://mathlikeanim-rs.vercel.app/).
Raw data
{
"_id": null,
"home_page": "https://github.com/MathItYT/mathlikeanim-rs",
"name": "mathlikeanim-rs",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.14,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "MathItYT",
"author_email": "benjamin.ubilla@uc.cl",
"download_url": "https://files.pythonhosted.org/packages/f1/10/b819e239a5bc19b5b380c616e5eb7036d184be6599b4e02af38de25b3cc9/mathlikeanim_rs-0.13.27.tar.gz",
"platform": null,
"description": "# MathLikeAnim-rs\n\n\n\nThis is an animation library written in Rust, widely inspired by [Manim](https://manim.community/) and, unlike Manim, it allows interactivity thanks to WebAssembly, JavaScript and the web.\n\n\n## Features\n- [x] Interactivity.\n- [x] Basic shapes.\n- [x] Function plotting.\n- [x] Animations in HTML Canvas and SVG.\n- [x] Text rendering.\n- [x] LaTeX rendering.\n- [x] 3D rendering.\n- [x] Browser support.\n- [x] Python support.\n\n\n## How to install it?\nIf you want to start creating mathematical and interactive animations, you can install it by running:\n\n```bash\nnpm i mathlikeanim-rs\n```\n\n\n## How to use it in the browser?\nYou 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!\n\n```html\n<script type=\"module\">\n import initWasm from './node_modules/mathlikeanim-rs/index.js';\n\n initWasm().then((wasm) => {\n ...\n });\n</script>\n```\n\n\n## How to use it in Python?\nYou can use the Python package to create animations in the same way you would do with the Rust library. You can install it by running:\n\n```bash\npip install mathlikeanim-rs\n```\n\n\n## Development\nIf you want to contribute to this project, you can clone a fork of this repository and work with the Rust codebase.\n\nBy the moment we don't have any tests, so your contributions are welcome!\n\n\n## Documentation\nYou can find the documentation of this project in [https://mathlikeanim-rs.vercel.app/](https://mathlikeanim-rs.vercel.app/).",
"bugtrack_url": null,
"license": null,
"summary": "A Rust library for creating mathematical animations, now in Python",
"version": "0.13.27",
"project_urls": {
"Homepage": "https://github.com/MathItYT/mathlikeanim-rs",
"Repository": "https://github.com/MathItYT/mathlikeanim-rs"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c78240c1f1387a98bdead4eb9e8de4b70643625e26efe759d9db37a53d631e31",
"md5": "92e68733b98043bf80fb11163a156125",
"sha256": "d6d0a03bf2e309a9e855cab556de09c176b75be5c427fd1e76eb6fd322af5c5d"
},
"downloads": -1,
"filename": "mathlikeanim_rs-0.13.27-py3-none-any.whl",
"has_sig": false,
"md5_digest": "92e68733b98043bf80fb11163a156125",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.14,>=3.11",
"size": 574256,
"upload_time": "2025-01-14T21:56:46",
"upload_time_iso_8601": "2025-01-14T21:56:46.447120Z",
"url": "https://files.pythonhosted.org/packages/c7/82/40c1f1387a98bdead4eb9e8de4b70643625e26efe759d9db37a53d631e31/mathlikeanim_rs-0.13.27-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f110b819e239a5bc19b5b380c616e5eb7036d184be6599b4e02af38de25b3cc9",
"md5": "821295124f0ba126601edd9cfb29d37b",
"sha256": "a75e3af603cfb4bd4ea06dd6725c9ee1bf7f4df08154c2b35f176878b3496eda"
},
"downloads": -1,
"filename": "mathlikeanim_rs-0.13.27.tar.gz",
"has_sig": false,
"md5_digest": "821295124f0ba126601edd9cfb29d37b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.14,>=3.11",
"size": 566583,
"upload_time": "2025-01-14T21:56:49",
"upload_time_iso_8601": "2025-01-14T21:56:49.026851Z",
"url": "https://files.pythonhosted.org/packages/f1/10/b819e239a5bc19b5b380c616e5eb7036d184be6599b4e02af38de25b3cc9/mathlikeanim_rs-0.13.27.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-14 21:56:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MathItYT",
"github_project": "mathlikeanim-rs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mathlikeanim-rs"
}