Skip to content

A Next.js application that creates visual representations of mathematical expressions using calculus principles.

License

Notifications You must be signed in to change notification settings

bniladridas/calculus_image_generator

Repository files navigation

Calculus Image Generator

A Next.js application that visualizes mathematical expressions using calculus principles.

Key Features

  • Expression Processing: Analyzes expressions via Gemini API, extracting derivatives, integrals, and critical points.
  • Interactive Visualization: Renders functions with gradients, highlights critical points, and adapts to screen size.
  • Mathematical Analysis: Displays expressions, domain/range, and critical points in a tabbed layout.
  • Theme Support: Dark/light modes with optimized colors and a toggle.
  • User Interface: Modern, responsive design with example functions.

How to Use

  1. Input a function (e.g., sin(x) + x^2).
  2. Click "Generate" to see visualization and analysis.
  3. Explore tabs for details.

Installation

  1. Clone the repo:
    git clone https://github.com/bniladridas/calculus_image_generator.git
  2. Enter directory:
    cd calculus-image-generator
  3. Install dependencies:
    npm install

Running the Software

  • Local Development:
    npm run dev
  • Global Startup:
    1. Make script executable:
      chmod +x startup.sh
    2. Create symbolic link:
      sudo ln -s /path/to/project/startup.sh /usr/local/bin/calculus-image-generator
    3. Run globally:
      calculus-image-generator

Access

Visit http://localhost:3000 once running.

Troubleshooting

If calculus-image-generator fails, verify the symbolic link and command.

License

MIT License - see LICENSE for details.

About

A Next.js application that creates visual representations of mathematical expressions using calculus principles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages