Skip to content

plots graph of any given function. Written in JavaScript

Notifications You must be signed in to change notification settings

hackasaur/graph-plotter

Repository files navigation

Graph-plotter

Plot any function of $x$ on a $xy$ plane, zoom in/out and check the coordinates.
To use common math functions like $sin(x)$, add Math. in front of the function e.g. Math.sin(x)

screenshot graph-plotter tan(x)

TODO:

  • plot multiple plots on the same graph
  • zoom in/out using mouse scroll wheel
  • pan the graph
  • checkEquation should have a better parser for Math.<functions>. Math. should not have to be added
  • handle asymptotes as moveTo() joins the plot in that case. Same with non-continous functions

About

plots graph of any given function. Written in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published