A Rust library for creating mathematical animations, now in Python
Project description
MathLikeAnim-rs
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.
Features
- Interactivity.
- Basic shapes.
- Function plotting.
- Animations in HTML Canvas and SVG.
- Text rendering.
- LaTeX rendering.
- 3D rendering.
- Browser support.
- Python support.
How to install it?
If you want to start creating mathematical and interactive animations, you can install it by running:
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!
<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:
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/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mathlikeanim_rs-0.13.25.tar.gz.
File metadata
- Download URL: mathlikeanim_rs-0.13.25.tar.gz
- Upload date:
- Size: 565.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c21fb22b802742ef9786b748a406208d75d5860844ede451b2f501bec915503
|
|
| MD5 |
b6f812814d6a2397d549e7d4ecc0f5d4
|
|
| BLAKE2b-256 |
1e091ce1cd5b455f5ee1093a5c784529389382930a93afd7e97d65e3a2e94694
|
File details
Details for the file mathlikeanim_rs-0.13.25-py3-none-any.whl.
File metadata
- Download URL: mathlikeanim_rs-0.13.25-py3-none-any.whl
- Upload date:
- Size: 573.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6512f2a88af163f46e8a67c83e63048139115d5cb8c38ba0ddcfcc9fdbcbf55
|
|
| MD5 |
69450f04257e208798ed6727b073125d
|
|
| BLAKE2b-256 |
d22f2ebf9e5bf50aab3812dcc92570412bde5b5cd2b0f065904c5a7bbc9dca86
|