Animation 260: Polygon Rotation, Scaling and Centroid Trajectory
Loading the math board and drawing, please wait…
This GeoGebra example demonstrates a dynamic animation where a polygon undergoes rotation, scaling, and translation, revealing the geometric relationships between its centroid (barycenter) and vertices, while area and perimeter change continuously with parameters. Core mathematical concepts include centroid/barycenter, polygon area and perimeter, continuity, circles, natural numbers, and geometric transformations (rotation, dilation). The construction uses GeoGebra commands such as Midpoint, Polygon, Dilate, Segment, Rotate, and Intersect, involving objects like points D, E, B_2, F, A, V_1, M, o, B, W_1, U_1, C, A_2, Z_1, polygon poly1, auxiliary lines a–f, and derived primed points (A', B', C', etc.). Sliders control animation parameters to visualize continuous changes. Suitable for high school to early university students learning centroid properties, geometric transformations, and dynamic geometry, and useful for teachers as demonstration material or for student exploration.
GeoGebra Commands & Parameters
Midpoint(D, E) → B_2Midpoint(F, A) → V_1Midpoint(B_2, V_1) → MMidpoint(A, B) → W_1Midpoint(E, F) → U_1Midpoint(C, D) → A_2Midpoint(B, C) → Z_1Polygon(A, B, C, D, E, F) → poly1, a, b, c, d, e, fDilate(A, If[0 < o ≤ 1, 1 - o, 0], W_1) → A'Segment(A, A') → k_1Dilate(B, If[0 < o ≤ 1, 1 - o, 0], Z_1) → B'Segment(B, B') → l_1Dilate(C, If[0 < o ≤ 1, 1 - o, 0], A_2) → C'Segment(C, C') → m_1Dilate(D, If[0 < o ≤ 1, 1 - o, 0], B_2) → D'Segment(D, D') → n_1Dilate(E, If[0 < o ≤ 1, 1 - o, 0], U_1) → E'Segment(E, E') → p_1Dilate(F, If[0 < o ≤ 1, 1 - o, 0], V_1) → F'Segment(F, F') → q_1Rotate(C, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], C) → C'_1Rotate(C', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], C) → C''Rotate(D, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], D) → D'_1Rotate(D', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], D) → D''Rotate(E, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], E) → E'_1Rotate(E', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], E) → E''Rotate(F, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], F) → F'_1Rotate(F', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], F) → F''Rotate(A, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], A) → A'_1Rotate(A', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], A) → A''Rotate(B, If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], B) → B'_1Rotate(B', If[1.5 < o ≤ 2.5, ((-(o - 1.5)) * π / 3), ((-π)) / 3], B) → B''Rotate(C, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], D) → C'_2Rotate(C', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], D) → C''_1Rotate(D, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], E) → D'_2Rotate(D', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], E) → D''_1Rotate(E, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], F) → E'_2Rotate(E', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], F) → E''_1Rotate(F, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], A) → F'_2Rotate(F', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], A) → F''_1Rotate(A, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], B) → A'_2Rotate(A', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], B) → A''_1Rotate(B, If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], C) → B'_2Rotate(B', If[2.5 < o ≤ 3.5, ((o - 2.5) * π / 3), π / 3], C) → B''_1Rotate(A, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], W_1) → A'_6Rotate(A', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], W_1) → A''_2Segment(A'_6, A''_2) → r_1Rotate(B, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], Z_1) → B'_6Rotate(B', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], Z_1) → B''_2Segment(B'_6, B''_2) → s_1Rotate(C, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], A_2) → C'_7Rotate(C', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], A_2) → C''_2Segment(C'_7, C''_2) → t_1Rotate(D, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], B_2) → D'_5Rotate(D', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], B_2) → D''_2Segment(D'_5, D''_2) → a_1Rotate(E, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], U_1) → E'_6Rotate(E', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], U_1) → E''_2Segment(E'_6, E''_2) → b_1Rotate(F, If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], V_1) → F'_6Rotate(F', If[1 < o ≤ 2, ((-(o - 1)) * π), (-π)], V_1) → F''_2Segment(F'_6, F''_2) → c_1Midpoint(Z_1, B_2) → E_2Dilate(Z_1, If[2 < o ≤ 3, 3 - o, 0], E_2) → GSegment(Z_1, G) → gDilate(B_2, If[2 < o ≤ 3, 3 - o, 0], M) → HSegment(B_2, H) → hRotate(Z_1, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], E_2) → IRotate(G, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], E_2) → G'Segment(I, G') → g'Rotate(B_2, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], M) → NRotate(H, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], M) → H'_1Segment(N, H'_1) → h'Midpoint(V_1, Z_1) → JDilate(V_1, If[2 < o ≤ 3, 3 - o, 0], J) → KSegment(V_1, K) → iRotate(V_1, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], J) → LRotate(K, If[3 < o ≤ 4, ((-(o - 3)) * π), (-π)], J) → K'Segment(L, K') → i'Polygon(V_1, Z_1, B_2) → poly2, b_2, v_1, z_1Midpoint(W_1, A_2) → OMidpoint(A_2, U_1) → PMidpoint(U_1, W_1) → QDilate(W_1, If[4 < o ≤ 5, 5 - o, 0], O) → RDilate(A_2, If[4 < o ≤ 5, 5 - o, 0], P) → SDilate(U_1, If[4 < o ≤ 5, 5 - o, 0], Q) → TSegment(W_1, R) → jSegment(A_2, S) → kSegment(U_1, T) → lRotate(A_2, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], P) → URotate(S, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], P) → S'Segment(U, S') → k'Rotate(W_1, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], O) → VRotate(R, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], O) → R'Segment(V, R') → j'Rotate(U_1, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], Q) → WRotate(T, If[5 < o ≤ 6, ((-(o - 5)) * π), (-π)], Q) → T'Segment(W, T') → l'Polygon(W_1, A_2, U_1) → poly3, u_1, w_1, a_2Segment(U_1, O) → mSegment(W_1, P) → nIntersect(m, n) → ZDilate(B_2, If[6 < o ≤ 7, 7 - o, 0], J) → A_1Segment(B_2, A_1) → pDilate(V_1, If[7 < o ≤ 8, 8 - o, 0], Z) → B_1Dilate(Z, If[8 < o ≤ 9, 9 - o, 0], Q) → Z'Segment(V_1, B_1) → qDilate(Z, If[8 < o ≤ 9, 9 - o, 0], E_2) → Z'_1Segment(Z, Z'_1) → rDilate(U_1, If[9 < o ≤ 10, 10 - o, 0], Z) → C_1Segment(U_1, C_1) → sDilate(Z, If[10 < o ≤ 11, 11 - o, 0], O) → Z'_2Segment(ZZ, Z'_2) → tDilate(W_1, If[11 < o ≤ 12, 12 - o, 0], Z) → D_1Segment(W_1, D_1) → f_1Dilate(Z, If[12 < o ≤ 13, 13 - o, 0], P) → Z'_3Segment(Z, Z'_3) → g_1
AI Drawing Prompt Reference
Draw a hexagon with six vertices connected in order. From each vertex, construct a segment to the midpoint of an adjacent side, and let these segments scale dynamically with a parameter, creating a shrinking effect. Then rotate the entire hexagon around each of its vertices in sequence, with rotation angles varying piecewise by the parameter, producing a continuous rotational animation. The centroid of the hexagon (intersection of lines connecting opposite side midpoints) remains fixed, and its trajectory is shown. The figure illustrates geometric transformations including scaling, rotation, and translation, with area and perimeter changing continuously.
The prompt above was compiled from the original drawing commands and is for reference only.