Making Equilateral Triangles 3 (Isometric Grid / Check Answer / One Segment Fixe

Making Equilateral Triangles 3 (Isometric Grid / Check Answer / One Segment Fixe
Loading the math board and drawing, please wait…
2020-04-02 21:25
This example demonstrates constructing equilateral triangles on an isometric grid, involving the properties of equilateral triangles and geometric construction. It uses commands like IndexOf, Sequence, Join, Flatten, RandomElement, Segment, If. Suitable for high school or university geometry construction practice.

GeoGebra Commands & Parameters

  1. IndexOf(SelectedElement[ListTriType], ListTriType) → TriType
  2. Sequence(Sequence[((sqrt(3) * s) + sqrt(3) / 2, t + 1 / 2), s, 2, 9], t, 2, 9) → ListTri1b
  3. Sequence(Sequence[((sqrt(3) * s), t), s, 2, 9], t, 2, 9) → ListTri1a
  4. Join({ListTri1a, ListTri1b}) → ListTri1
  5. Sequence(Sequence[((sqrt(3) * s), t), s, 4, 8], t, 5, 8) → ListTri2a
  6. Sequence(Sequence[((sqrt(3) * s) + sqrt(3) / 2, t + 1 / 2), s, 4, 7], t, 5, 8) → ListTri2b
  7. Join({ListTri2a, ListTri2b}) → ListTri2
  8. Flatten(If[TriType ≟ 1, ListTri1, ListTri2]) → ListTri
  9. RandomElement(ListTri) → Redb0
  10. RandomElement(ListTri) → Reda
  11. Segment(Blue1a, Blue1b) → SegBlue1
  12. Segment(Blue2a, Blue2b) → SegBlue2
  13. If(Reda ≟ Redb0, Redb0 + (0, 1), Redb0) → Redb
  14. Sequence(Sequence[((sqrt(3) * s) + sqrt(3) / 2, t + 1 / 2), s, -1, 13], t, -4, 13) → ListDots2
  15. Sequence(Sequence[((sqrt(3) * s), t), s, -1, 13], t, -4, 13) → ListDots1
  16. Segment(Reda, Redb) → SegRed

AI Drawing Prompt Reference

Draw equilateral triangles on an isometric grid. First, create two lists of points, one on horizontal lines and the other on inclined lines. Then, based on the triangle type, choose one list and randomly select two points to draw a segment. Finally, draw another segment connecting to these two points to form an equilateral triangle.
The prompt above was compiled from the original drawing commands and is for reference only.