Welcome to AI Math Notes
AI Math Notes is an interactive drawing application that lets you write mathematical equations by hand and instantly get AI-calculated results. Simply draw your equation, add an equals sign, and watch as GPT-4o recognizes your handwriting and places the answer right where you need it. Inspired by Apple’s “Math Notes” demo from WWDC 2024, this application combines the natural feel of handwriting with the power of multimodal AI.Installation
Set up AI Math Notes in minutes with Python and OpenAI API
Quick Start
Draw and calculate your first equation in under 60 seconds
GitHub Repository
Explore the source code and contribute to the project
License
Open source under MIT License - free for personal and commercial use
Key Features
Natural Handwriting Input
Draw equations directly on a digital canvas using your mouse or touchpad. The black canvas with white drawing provides clear contrast for optimal handwriting recognition.AI-Powered Calculation
Powered by OpenAI’s GPT-4o multimodal model, the application reads your handwritten equations and calculates results with impressive accuracy. The AI understands mathematical notation and solves expressions ranging from simple arithmetic to complex equations.Intelligent Answer Placement
Results appear automatically next to the equals sign in orange, maintaining the natural flow of your work. The application detects unsolved equations (equals signs with nothing to the right) and places answers precisely where they belong.Intuitive Controls
Clear
Reset the entire canvas for a fresh start
Undo
Use Cmd/Ctrl+Z to remove your last stroke
Calculate
Press Enter or click to solve the equation
How It Works
- Draw - Use your mouse to write a mathematical equation on the canvas
- Add Equals - End your equation with an equals sign (this must be the last thing you draw)
- Calculate - Press Enter or click the Calculate button
- Get Results - The AI reads your handwriting, solves the equation, and displays the answer in orange
Technology Stack
AI Math Notes is built with:- Python - Core application logic
- Tkinter - Graphical user interface framework
- PIL (Pillow) - Image processing and canvas rendering
- OpenAI GPT-4o - Multimodal LLM for handwriting recognition and calculation