This works by drawing lines from a vertex to the line joining the other two vertices. Got this idea from a square filler project by @flumper-gumper