There are many aspects to the interface for this program, but there are two main ones: selecting and drawing. They are largely controlled by the mouse using positions and clicks, like most interfaces.
Source: Parker James R. (2021), Python: An Introduction to Programming, Mercury Learning and Information; Second edition.