Hello!

You need a library on js (the jQuery is already screwed into the project) to draw function graphs. More specifically - second order curves in canonical form.

Need to:

  • Work in several coordinate systems, one — the parent, the rest — are shifted relative to the parent by (xn, yn) and rotated through a certain angle (which I cannot find anywhere).
  • Draw graphs of functions in each system separately, preferably in different colors.
  • I really want the opportunity to conveniently move the canvas and scale it.

2 answers 2

Highly recommend this: Attractive JavaScript plotting for jQuery

He helped me a lot in his time, he knows how to add graphics, but about scaling and moving - hardly, except to add a wrapper for this, but there will be resources with a large number of graphics

Another graphic library of Raphaël , oriented truth rather on interactivity (animation and response to user actions). In addition, it is possible to import images from a file.