A Next.js application that visualizes mathematical expressions using calculus principles.
- 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.
- Input a function (e.g.,
sin(x) + x^2
). - Click "Generate" to see visualization and analysis.
- Explore tabs for details.
- Clone the repo:
git clone https://github.com/bniladridas/calculus_image_generator.git
- Enter directory:
cd calculus-image-generator
- Install dependencies:
npm install
- Local Development:
npm run dev
- Global Startup:
- Make script executable:
chmod +x startup.sh
- Create symbolic link:
sudo ln -s /path/to/project/startup.sh /usr/local/bin/calculus-image-generator
- Run globally:
calculus-image-generator
- Make script executable:
Visit http://localhost:3000
once running.
If calculus-image-generator
fails, verify the symbolic link and command.
MIT License - see LICENSE for details.