Skip to main content

A Rust library for creating mathematical animations, now in Python

Project description

MathLikeAnim-rs

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathlikeanim_rs-0.13.24.post1.tar.gz (565.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathlikeanim_rs-0.13.24.post1-py3-none-any.whl (573.0 kB view details)

Uploaded Python 3

File details

Details for the file mathlikeanim_rs-0.13.24.post1.tar.gz.

File metadata

  • Download URL: mathlikeanim_rs-0.13.24.post1.tar.gz
  • Upload date:
  • Size: 565.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10

File hashes

Hashes for mathlikeanim_rs-0.13.24.post1.tar.gz
Algorithm Hash digest
SHA256 a0ff641c90e37b07fc8e0bbc3ec9abc4ed1fd4a5937bc858024e9759b512074f
MD5 97456c411387facdedc55954aa087ce0
BLAKE2b-256 3e804ba31c775e29a1a32f1c2723f513e61c7f16fde28f1b0d547c30f122b6ad

See more details on using hashes here.

File details

Details for the file mathlikeanim_rs-0.13.24.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for mathlikeanim_rs-0.13.24.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa01d4a727ef105b7d1d3f9fbc64a75a2caa4c86e733b59574fe9f7a1dcdae99
MD5 007db3ef38e97ffe4f392064d6b670aa
BLAKE2b-256 8d31629c3d0d5139dad34f29c6799083dd43c484ae9acc2e6dcecafd844fbda6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page