Thank moonhayul for the original project Simplest Triangle Filler (30 blocks). The project is also interactive, you can move any corner with the mouse to change the shape. Up - dot1 down - dot4 left - dot3 right - dot2 We cannot go beyond the dot3-dot2 diagonal with dots up and down. We control the dots from the left and right at will
The moonhayul code was used in its entirety. A fourth point, dot4 has been added. The procedure for filling the triangle was invoked twice; dot1-dot2-dot3 dot4-dot2-dot3 fill color changed to gold and background to green. Many thanks @moonhayul for the great idea.