A precision constraint-based geometry tool. Draw shapes, define relationships, and export publication-ready Asymptote diagrams — all in the browser.
Every tool designed around the constraint solver at its core
Newton-Raphson engine with graph decomposition. Define tangency, distance, angle, parallelism — the solver enforces them all simultaneously.
Drag any point and watch the entire figure adapt in real time. Unconstrained degrees of freedom move freely; constrained ones hold firm.
Lengths and angles shown as exact expressions — fractions, square roots, multiples of π. Rendered in beautiful LaTeX.
Algebraic solutions for circles tangent to three others or inscribed in triangles. Handles configurations Newton-Raphson alone can't reach.
Save constructions locally or to the cloud with Firebase. Export and import as JSON. Your work persists across sessions and devices.
Export your constructions as publication-quality Asymptote code. Generate diagrams ready for LaTeX documents, competition problems, and textbooks.
From blank canvas to publication-ready diagram
Place points, lines, circles, rectangles, and regular polygons on the infinite canvas. Snap to existing geometry — points, midpoints, intersections, and circle edges are automatically detected.
Click a line to set its length, or click two lines to make them parallel or perpendicular. Pin an angle to exactly 60°. Add tangency between a line and a circle. Each constraint removes a degree of freedom.
sqrt(@a^2 + @b^2) where @a and @b are other dimensions.With constraints in place, drag any free point. The solver re-evaluates the entire system in real time — every relationship stays satisfied. Watch lengths update as exact fractions, roots, and multiples of π.
When your construction is ready, click "Asy" to generate clean Asymptote code. Points, lines, circles, arcs, and labels are all included — with exact coordinates and proper LaTeX formatting.
.tex file with \usepackage{asymptote}. Compile with asy or latexmk for vector-quality diagrams.From simple distances to circle tangency — define any geometric relationship
Fix the distance between two points
DSet the angle between two lines
ALock two points together
CKeep two lines parallel
PTwo lines at 90°
NLine tangent to circle
GAlign points horizontally
HAlign points vertically
HPoint at center of segment
MTwo segments, same length
EConstrain point to circumference
—Constrain point to a segment
—Align points horizontally or vertically
HPin a point where two lines cross
JMeasure and display a distance live
IFix a circle's radius to an exact value
DAngulus recognizes exact mathematical values and renders them in LaTeX
Constraints that reference other constraints — build parametric dependencies
Turn any construction into an Asymptote diagram for LaTeX — perfect for textbooks, competitions, and papers
Click "Asy" in the toolbar to instantly generate Asymptote code from your current construction. Copy to clipboard and paste into your LaTeX document.
Points, lines, circles, arcs, rectangles, and regular polygons are all exported with their exact coordinates and relationships.
Labels with LaTeX math (like $\sqrt{2}$) are preserved in the exported code. Auto-placed with intelligent compass-based positioning.
See a rendered preview of your Asymptote output right in the app before exporting. Verify your diagram looks exactly right.
Ideal for math olympiad solutions, geometry textbook figures, research papers, and any document typeset with LaTeX.
Every tool has a single-key shortcut — no menus, no hunting
No install, no signup. Draw, constrain, and export Asymptote code.