With the brush in Scratch, you can easily draw equilateral triangles. Proceed as follows:
1. Define the "Equilateral Triangle" building block
- Click "Homemade Building Blocks" in Scratch --"Make a new building block--"Straight Line--" to add 4 parameters, as shown in Figures (1) and (2):
2. Main function
The effect is as follows: