All use cases

Graphing Calculator

Math plotter.

Prototypes
Prompt
You are a mathematician. Build a graphing calculator. Constraints: Parse mathematical expressions. Plot 2D functions on a canvas grid. Zoom/Pan graph. History tape of calculations.
Use this

Why this exists

A graphing calculator is a solved problem that still costs a hundred dollars in plastic on a school supply list, or lives in a web app that owns your saved work. The hard parts, parsing an expression and drawing it on a grid, were solved decades ago. What you rarely get is the whole thing as code you can open and change. This blueprint hands you that: a plotter that runs in the browser and belongs to you, no account, no hardware, no locked "pro" panel.

What the agent builds

A graphing calculator that parses the expressions you type and plots them as 2D functions on a canvas grid, with zoom and pan to chase a curve out to where it gets interesting. A history tape keeps what you have entered so you can pull a line back without retyping. Canvas rendering keeps redraws smooth while you drag, and the parser handles the usual operators and functions so input feels like math, not rigid syntax.

You watch it happen in the task workspace: the agent scaffolds the project, writes the expression parser, wires the canvas plotting, starts the dev server, and confirms a graph renders before handing you a live preview. The code lands on a branch in your repository with a pull request ready.

Make it yours

The first version is a base you steer with plain follow-up messages:

  • "Plot two functions at once in different colors."
  • "Mark the roots and intersections on the graph."
  • "Add a slider for a parameter so I can animate the curve."
  • "Let me export the current graph as an image."

Each follow-up wakes the same repository and the agent continues on its own code.

FAQ

Do I need to know how to code? No. You describe the calculator; the agent writes the parser and plotting, verifies a graph renders, and ships the code to your repository.

What expressions does it handle? The standard operators and common functions, and if you need more, ask, and the agent extends the parser.

Does it need the internet to run? No. The parsing and plotting run in your browser, so it works offline once loaded.

Graphing Calculator | OutcomeDev Use Cases