home compass and ruler Interactive geometry to use now

A macro is a shortcut for a sequence of construction steps, just like subroutines of programming languages. Macros have parameters, which determine the objects to start from, which you select by clicking. They also have targets, which are the things to construct. Click on the Run Macro button below and experiment with the three macros available.

Help with buttons

Can you find ways of using these macros to make these constructions, in the minimum number of steps:

Start with End up with in...
A triangle its circumcentre 3 steps
A triangle its incentre 3 steps
A triangle its centre of gravity 5 steps
A line AB a line perpendicular to AB and passing through A 3 steps
A line AB and a point C not on AB a line perpendicular to AB and passing through C 3 steps
A line AB the four sides and vertices of a square with AB as base 9 steps