use your mouse to create new point to your polygon and press x to delete your polygon.
Description
the ear clipping algorithm was coded by me but the triangle renderer was made by @TheLogFather.
the triangle renderer
https://scratch.mit.edu/projects/24828481