Skip to content

Franciman/plasm

Repository files navigation

plasm

A FAST mathematical function plotter which builds to both desktop (Rust + OpenGL) and web (Rust to WebAssembly).

homepage

https://frankplus.github.io/plasm/

Build

Desktop

$ cargo run

Web

$ wasm-pack build --target web --out-name web --out-dir pkg

Install a server that properly defines the application/wasm mime type for example:

$ npm install -g http-server

Start the server

$ http-server

Go to http://localhost:8080 in a browser.

Current feature

2D (implicit and explicit) and 3D mathematical functions plotter.

API

Make a GET request to https://frankplus.github.io/plasm/ with a GET parameter "q" containing the mathematical expression
For example:

https://frankplus.github.io/plasm/?q=sin%28x%29%2Bcos%28y%29

screenshot of a plotted 3d function

screenshot of a plotted implicit 2d function

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Acknowledgements

  • @Franciman
  • @Frankplus

About

plot your functions with rust and wasm - https://frankplus.github.io/plasm/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published