SkillAgentSearch skills...

Plasm

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

Install / Use

/learn @Franciman/Plasm
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Acknowledgements

  • @Franciman
  • @Frankplus
View on GitHub
GitHub Stars10
CategoryDevelopment
Updated3y ago
Forks2

Languages

Rust

Security Score

75/100

Audited on Jun 22, 2022

No findings