GeoScript turns readable code into precise, publication-ready figures. Geometric constructions today — function plots, vectors, and new modules on the horizon. Describe what you want, and the AI writes the script.
// Why GeoScript
Start with a right triangle. Add vectors, labels, function curves. As new modules land, your scripts stay the same — just more powerful.
Geometry today — function plots, vectors, and physics diagrams coming. Every new module plugs into the same syntax you already know.
geometry · plots · vectorsEdit your script and watch the SVG canvas update on every keystroke. No build step, no compile cycle, no surprises.
instant previewDefine a palette once with col, then use it everywhere — with full alpha support via mint.alpha(0.1).
Query derived properties from any object — midpoints, radii, angles — and pipe them directly into the next definition.
s1.mid.x · c.radiusType "draw a proof of the Pythagorean theorem" and the AI writes the full GeoScript. You tweak, adjust, make it yours.
describe → diagram → doneOne click produces a clean, publication-ready SVG — perfect for LaTeX documents, Figma, slides, or print-quality figures.
export · embed · LaTeX// AI Code Generation
The AI tab understands mathematical intent. Tell it what you want to show — it writes the GeoScript. You adjust, label, and make it yours.
The generated code lands directly in the editor. Every number is a handle — drag a point, change a colour, add a label. The diagram is yours to refine.
GeoScript AI uses your own Anthropic API key — paste it once and it's stored only in your browser. Your prompts and diagrams never touch our servers.
// The Syntax
Every statement follows the same shape: type Name: (properties). Intentionally uniform — so the script reads like a list of decisions, not code to decipher.
s1.mid.x to flow derived props into new definitions.// Workflow
Type plain English in the AI tab — "prove the Pythagorean theorem" — or write GeoScript directly. Either way, the canvas responds.
The canvas updates on every keystroke. Errors surface inline in the inspector with source-mapped line references.
Download a clean SVG or drop it straight into LaTeX, Figma, or Google Slides — any tool that accepts vectors.
// get started
No accounts, no install. Open the playground and start drawing with code in under a minute.