Symbolic Geometry,
via API
CoreGX is a constraint-based geometry engine. Describe a figure using the CoreGX language: points, segments, circles, and constraints. Receive precise SVG output and symbolic measurements in return.
# Right triangle with measurements
anglemode degree
triangle A B C
angle A B C 90
distance AB 3
distance BC 4
measure area(A,B,C)
measure distance(A,BC)
A constraint-based solver that resolves geometric relationships symbolically, producing exact results without numerical approximation.
Learn more → LanguageA concise declarative language for describing figures: points, segments, circles, polygons, constraints, and measurements. One command per line.
Learn more → APIA simple REST endpoint: POST a CoreGX program, receive SVG output and symbolic equation results. Designed for embedding and LLM integration.
Learn more →Get Started
Enter your email and we will send you a key.
POST a CoreGX program to the API with your key.
curl -X POST https://gengx.geometryexpressions.com/run-coregx \
-H "Content-Type: application/json" \
-d '{
"apikey": "YOUR_API_KEY",
"program": "triangle A B C\ncircumcircle C0 O A B C\ndistance AB 3"
}'
The response contains an svg field ready to embed, plus symbolic equation results.
{
"ok": true,
"value": {
"svg": "<svg xmlns='http://www.w3.org/2000/svg' ...>...</svg>",
"xml": "...",
"equations": [...]
}
}
Examples
A sample of what CoreGX can produce.
Request an API Key
Enter your email and we'll send you a key.