Kig is a program for exploring geometric constructions. It has some facilities for scripting in Python, as well as the creating macros from existing constructions.
Features
Allows users to interactively explore mathematical figures and concepts using the computer
Serves as a WYSIWYG tool for drawing mathematical figures and including them in other documents