Treszyk / Graphing-Calculator

A graphing calculator built with HTML, CSS, and JavaScript, utilizing the Canvas API for dynamic graph rendering and Math.js for robust equation evaluation.
https://treszyk.github.io/Graphing-Calculator/
MIT License
1 stars 0 forks source link

Graphing Calculator

Overview

The Graphing Calculator is a web-based application that allows users to input mathematical function equations and visualize them in real-time. Built using HTML, JavaScript, and CSS, this calculator utilizes the Canvas API for drawing graphs and Math.js for robust equation processing. It’s designed for students, educators, and anyone interested in exploring mathematical functions graphically.

Features

Technologies Used

How to Use

  1. Input Field: Type a mathematical function in the input field. Examples include:

    • x^2 (for ( y = x^2 ))
    • sin(x) (for ( y = \sin(x) ))
    • x^3 - 3x + 2 (for ( y = x^3 - 3x + 2 ))
  2. Draw the Graph: The graph is drawn in real time.

  3. Zoom and Pan: Use the mouse wheel to zoom in and out, and click and drag to pan across the graph.

  4. Add Multiple Functions: To compare multiple functions, simply input them separated by commas(in progress).

Contributing

Contributions are welcome! If you’d like to contribute, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments