Metadata-Version: 2.1
Name: mathlikeanim-rs
Version: 0.13.24
Summary: A Rust library for creating mathematical animations, now in Python
Home-page: https://github.com/MathItYT/mathlikeanim-rs
Author: MathItYT
Author-email: benjamin.ubilla@uc.cl
Requires-Python: >=3.11,<3.14
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: nicegui (>=2.9.0,<3.0.0)
Project-URL: Repository, https://github.com/MathItYT/mathlikeanim-rs
Description-Content-Type: text/markdown

# MathLikeAnim-rs

![MathLikeAnim-rs](https://github.com/MathItYT/mathlikeanim-rs/blob/master/banner.png "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>
```


## 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/).
