Colors and Shapes I: Dynamic Polygons, Circles & Reflections

Colors and Shapes I: Dynamic Polygons, Circles & Reflections
Loading the math board and drawing, please wait…
2021-05-21 21:26
In collections Nível 1
This example demonstrates the dynamic creation of colorful shapes using polygons, circles, and reflection transformations, providing a visual illustration of fractions, percentages, and linear optimization within geometry. Core mathematical concepts include linear programming/optimization, percentages, fractions, reflection, and isosceles triangles. Construction highlights: Polygon for building polygons, DynamicCoordinates for movable points, Intersect for intersection points, Midpoint for midpoints, and Circle for circles; the model contains numerous vertices (A, B, C…), a highlighted polygon (TrianguloLaranja), auxiliary segments, and circles. Suitable for high‑school integrated geometry‑algebra courses, introductory college geometry, and as a GeoGebra dynamic construction teaching resource.

GeoGebra Commands & Parameters

  1. Polygon(C, D, E, F) → q2, c, d, e, f_1
  2. DynamicCoordinates(A_{6}, If[IsInRegion[A_{6}, q2], round(x(A_{6})), x(A_{6})], If[IsInRegion[A_{6}, q2], round(y(A_{6})), y(A_{6})]) → B_{6}
  3. Polygon(B_{6}, B_{6} + (1, 0), B_{6} + (1, 1), B_{6} + (0, 1)) → q8, b_{6}, f_{7}, g_{6}, h_{6}
  4. Intersect(f_{7}, g_{6}) → J_{6}
  5. Midpoint(B_{6}, J_{6}) → M
  6. DynamicCoordinates(A, If[IsInRegion[A, q2], round(x(A)), x(A)], If[IsInRegion[A, q2], round(y(A)), y(A)]) → B
  7. Polygon(B, B + (1, 0), B + (1, 1), B + (0, 1)) → q1, b, f, g, h
  8. Intersect(g, h) → I
  9. Intersect(f, g) → J
  10. Midpoint(I, J) → K
  11. Intersect(b, f) → L
  12. Polygon(B + (0.1, 0.1), K - (0, 0.2), L + (-0.1, 0.1)) → TrianguloLaranja, i, j, k
  13. DynamicCoordinates(A_{1}, If[IsInRegion[A_{1}, q2], round(x(A_{1})), x(A_{1})], If[IsInRegion[A_{1}, q2], round(y(A_{1})), y(A_{1})]) → B_{1}
  14. Polygon(B_{1}, B_{1} + (1, 0), B_{1} + (1, 1), B_{1} + (0, 1)) → q3, b_{1}, f_{2}, g_{1}, h_{1}
  15. Intersect(g_{1}, h_{1}) → I_{1}
  16. Intersect(f_{2}, g_{1}) → J_{1}
  17. Midpoint(I_{1}, J_{1}) → K_{1}
  18. Intersect(b_{1}, f_{2}) → L_{1}
  19. Polygon(B_{1} + (0.1, 0.1), K_{1} - (0, 0.2), L_{1} + (-0.1, 0.1)) → TrianguloAzul, i_{1}, j_{1}, k_{1}
  20. DynamicCoordinates(A_{2}, If[IsInRegion[A_{2}, q2], round(x(A_{2})), x(A_{2})], If[IsInRegion[A_{2}, q2], round(y(A_{2})), y(A_{2})]) → B_{2}
  21. Polygon(B_{2}, B_{2} + (1, 0), B_{2} + (1, 1), B_{2} + (0, 1)) → q4, b_{2}, f_{3}, g_{2}, h_{2}
  22. Intersect(g_{2}, h_{2}) → I_{2}
  23. Intersect(f_{3}, g_{2}) → J_{2}
  24. Midpoint(I_{2}, J_{2}) → K_{2}
  25. Intersect(b_{2}, f_{3}) → L_{2}
  26. Polygon(B_{2} + (0.1, 0.1), K_{2} - (0, 0.2), L_{2} + (-0.1, 0.1)) → TrianguloVerde, i_{2}, j_{2}, k_{2}
  27. DynamicCoordinates(A_{3}, If[IsInRegion[A_{3}, q2], round(x(A_{3})), x(A_{3})], If[IsInRegion[A_{3}, q2], round(y(A_{3})), y(A_{3})]) → B_{3}
  28. Polygon(B_{3}, B_{3} + (1, 0), B_{3} + (1, 1), B_{3} + (0, 1)) → q5, b_{3}, f_{4}, g_{3}, h_{3}
  29. Intersect(g_{3}, h_{3}) → I_{3}
  30. Intersect(f_{4}, g_{3}) → J_{3}
  31. Midpoint(I_{3}, J_{3}) → K_{3}
  32. Intersect(b_{3}, f_{4}) → L_{3}
  33. Polygon(B_{3} + (0.15, 0.1), L_{3} + (-0.15, 0.1), L_{3} + (-0.15, 0.8), B_{3} + (0.15, 0.8)) → QuadradoLaranja, l, m, n, p
  34. DynamicCoordinates(A_{4}, If[IsInRegion[A_{4}, q2], round(x(A_{4})), x(A_{4})], If[IsInRegion[A_{4}, q2], round(y(A_{4})), y(A_{4})]) → B_{4}
  35. Polygon(B_{4}, B_{4} + (1, 0), B_{4} + (1, 1), B_{4} + (0, 1)) → q6, b_{4}, f_{5}, g_{4}, h_{4}
  36. Intersect(g_{4}, h_{4}) → I_{4}
  37. Intersect(f_{5}, g_{4}) → J_{4}
  38. Intersect(b_{4}, f_{5}) → L_{4}
  39. Polygon(B_{4} + (0.15, 0.1), L_{4} + (-0.15, 0.1), L_{4} + (-0.15, 0.8), B_{4} + (0.15, 0.8)) → QuadradoAzul, l_{1}, m_{1}, n_{1}, p_{1}
  40. DynamicCoordinates(A_{5}, If[IsInRegion[A_{5}, q2], round(x(A_{5})), x(A_{5})], If[IsInRegion[A_{5}, q2], round(y(A_{5})), y(A_{5})]) → B_{5}
  41. Polygon(B_{5}, B_{5} + (1, 0), B_{5} + (1, 1), B_{5} + (0, 1)) → q7, b_{5}, f_{6}, g_{5}, h_{5}
  42. Intersect(g_{5}, h_{5}) → I_{5}
  43. Intersect(f_{6}, g_{5}) → J_{5}
  44. Intersect(b_{5}, f_{6}) → L_{5}
  45. Polygon(B_{5} + (0.15, 0.1), L_{5} + (-0.15, 0.1), L_{5} + (-0.15, 0.8), B_{5} + (0.15, 0.8)) → QuadradoVerde, l_{2}, m_{2}, n_{2}, p_{2}
  46. Intersect(g_{6}, h_{6}) → I_{6}
  47. Intersect(b_{6}, f_{7}) → L_{6}
  48. Circle(M - (0, 0.05), 0.35) → CirculoVerde
  49. DynamicCoordinates(A_{7}, If[IsInRegion[A_{7}, q2], round(x(A_{7})), x(A_{7})], If[IsInRegion[A_{7}, q2], round(y(A_{7})), y(A_{7})]) → B_{7}
  50. Polygon(B_{7}, B_{7} + (1, 0), B_{7} + (1, 1), B_{7} + (0, 1)) → q9, b_{7}, f_{9}, g_{7}, h_{7}
  51. Intersect(f_{9}, g_{7}) → J_{7}
  52. Midpoint(B_{7}, J_{7}) → M_{1}
  53. Intersect(g_{7}, h_{7}) → I_{7}
  54. Intersect(b_{7}, f_{9}) → L_{7}
  55. Circle(M_{1} - (0, 0.05), 0.35) → CirculoLaranja
  56. DynamicCoordinates(A_{8}, If[IsInRegion[A_{8}, q2], round(x(A_{8})), x(A_{8})], If[IsInRegion[A_{8}, q2], round(y(A_{8})), y(A_{8})]) → B_{8}
  57. Polygon(B_{8}, B_{8} + (1, 0), B_{8} + (1, 1), B_{8} + (0, 1)) → q10, b_{8}, f_{8}, g_{8}, h_{8}
  58. Intersect(f_{8}, g_{8}) → J_{8}
  59. Midpoint(B_{8}, J_{8}) → M_{2}
  60. Intersect(g_{8}, h_{8}) → I_{8}
  61. Intersect(b_{8}, f_{8}) → L_{8}
  62. Circle(M_{2} - (0, 0.05), 0.35) → CirculoAzul
  63. Polygon(A, B, C, D) → q11, a, b_9, c_1, d_1

AI Drawing Prompt Reference

Create a graphic composed of multiple colored polygons and circles. Start by drawing a polygon with points C, D, E, and F. Then, dynamically generate a series of small polygons and triangles, including orange, blue, and green triangles, and orange, blue, and green squares. Finally, draw a green circle centered at one of the generated points M. The graphic demonstrates concepts of dynamic transformations and reflections.
The prompt above was compiled from the original drawing commands and is for reference only.