Saltire logo CoreGX

Run CoreGX on your own computer

CoreGX Local is the CoreGX geometry engine as a command-line program. It reads the same language as the API and draws the same figures, but it runs on your machine, offline and without an API key.

  • Your programs and figures stay on your computer.
  • No credits or rate limits, so it suits batch jobs and build pipelines.
  • Builds for Linux, macOS and Windows, on x64 and ARM64.
triangle.coregx
anglemode degree
triangle A B C
angle A B C 90
distance A B a
distance B C b
measure distance(A,C)
measure area(A,B,C)
terminal
~/triangle $ ./coregx svg < triangle.gx | jq -r .svg > triangle.svg
~/triangle $ ./coregx equationformats=string < triangle.coregx |
> jq -r '.equations[] | [.expression, .string] | @tsv' | column -t
distance(A,C)  (((a)^(2)+(b)^(2)))^(1/2)
area(A,B,C)    (b*a*1/2)
~/triangle $ 
triangle.svg
Right triangle ABC with the right angle at B, side AB labelled a and side BC labelled b

Try it first

Download CoreGX Local without a license key to try it out. The evaluation copy is free and has no usage limits, but it's licensed for evaluation only.

To use CoreGX Local beyond evaluation, get a license. It's free for early adopters, and the key works with the copy you've already downloaded.

Download CoreGX Local from the CoreGX Console.

The README in the zip covers installing a key and first-run warnings on macOS and Windows.

Get a free license

Licenses are free for early adopters. Enter your email and we'll send you a link. Follow it to download CoreGX Local for your platform, with your license key included.

Free for early adopters

Already have a CoreGX API account? Use the same email and the license is added to it.

CoreGX Edit

Rather not work in a terminal? CoreGX Edit is a desktop editor with CoreGX built in. Write a program, or draw a construction on the canvas and add constraints to it, and see the figure and the measurements it produces. The language reference is a keypress away.

CoreGX Edit with Heron's formula open: triangle ABC on the canvas with its sides labelled a, b and c, the commands that define it, and its area and the distance from C to AB measured as formulas in a, b and c
  • Made to be changed. The interface is plain HTML, CSS and JavaScript in a folder beside the program: edit it, restart the app and your change is there, with nothing to build.
  • The editor is open source under the MIT License. The CoreGX engine inside it is licensed the same way as CoreGX Local.

Download CoreGX Edit from the CoreGX Console.