29 releases (5 breaking)

new 0.6.0 Jun 19, 2024
0.5.17 Jun 17, 2024
0.5.4 Mar 28, 2024
0.4.1 Mar 5, 2024
0.1.0 Feb 4, 2024

#97 in WebAssembly

Download history 26/week @ 2024-02-26 570/week @ 2024-03-04 473/week @ 2024-03-11 29/week @ 2024-03-18 112/week @ 2024-03-25 76/week @ 2024-04-01 132/week @ 2024-06-03 989/week @ 2024-06-10

1,121 downloads per month

MIT license

15K SLoC

Rust 11K SLoC // 0.0% comments JavaScript 3K SLoC // 0.4% comments TypeScript 1K SLoC // 0.6% comments



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.


  • Interactivity.
  • Basic shapes.
  • Function plotting.
  • Animations in HTML Canvas and SVG.
  • Text rendering.
  • 3D rendering (coming soon).

How to use it?

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! You can either use the CDN or install it via npm.

<script type="module">
import mathlikeanimRs from 'https://cdn.jsdelivr.net/npm/mathlikeanim-rs@0.6.0/+esm'

How to install it?

If you want to start creating mathematical and interactive animations, you can install it by running:

npm i mathlikeanim-rs


If you want to contribute to this project, you can clone the repository and work with the Rust codebase, and then build the WebAssembly module by running in the main directory:

wasm-pack build --target web --out-dir javascript

By the moment we don't have any tests, so your contributions are welcome!


~326K SLoC