It uses the pen tool and a lot of math to draw and fill a triangle. Drag the points to change the triangle.
Idk I got the incenter formula and stuff from Google but figured out the filling and all code myself. It uses the incenter circle (the largest possible circle that can fit in a triangle) for the pen size and slowly shrinks it as it goes towards the outer points.