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>

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.tar.gz (18.4 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-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mathlikeanim_rs-0.13.24.tar.gz
  • Upload date:
  • Size: 18.4 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.tar.gz
Algorithm Hash digest
SHA256 b75b7d29a438f7289661ca315691b924375e3f6ce27f8e3bc9c96710b9f632f7
MD5 fd7e576c5a08cf9ef58745932b6bd898
BLAKE2b-256 3788ca59a07b3ade9408f99566386c3fd4595c5ee002ab238445f3ebecbfd7b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mathlikeanim_rs-0.13.24-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • 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-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf27ff39bca5e0f1849dc9d291905e0e3fd01837b4b884a43a8bd5831d95ffa
MD5 213444dbeca8d35303a3ef33226f6f45
BLAKE2b-256 2fb02f4667bc4bb4aa76a1841892e227f0a4789d544cf8be4ba2c144de1e8147

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