Skip to content

MathItYT/mathlikeanim-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (coming soon).

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

About

A Rust library to create interactive mathematical animations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages