Spin Cube Optical Illusion: Sinusoidal/Geometric Construction

Spin Cube Optical Illusion: Sinusoidal/Geometric Construction
Loading the math board and drawing, please wait…
2020-09-10 15:06
This example demonstrates an optical-illusion “spin cube” effect: from a fixed 3D viewpoint, a cube’s faces appear to rotate smoothly, creating strong depth cues. The construction is rooted in vector-based geometry and parameter-driven tracing. Key math ideas include creating and manipulating points and edges with vectors and segments, forming polygons for cube faces, computing midpoints, defining lines/rays, and finding intersections to obtain the correct projected geometry. The model also uses CurveCartesian to generate parameter-dependent curves (trajectories/positions) that support the illusion. In GeoGebra, the construction is built from commands such as Vector, Segment, Polygon, Midpoint, Line, Ray, Intersect, and CurveCartesian, along with 3D viewing via View3D and rendered face objects like poly1 and poly2. It is appropriate for upper secondary through introductory university learners, especially for lessons on solid geometry, projection effects, and the mathematical basis of optical illusions.

GeoGebra Commands & Parameters

  1. Vector(C, X) → u
  2. Vector(C, Y) → v
  3. Vector(C, Z) → w
  4. Segment(C_1, O) → a
  5. Segment(O, C_2) → c
  6. Polygon(B, C_3, O) → poly1, o, b, c_1
  7. Polygon(T_1, T_2, T_3, T_4) → poly2, t_1, t_2, t_3, t_4
  8. Midpoint(B, C_3) → M_1
  9. Midpoint(C_3, O) → M_2
  10. Midpoint(Q, C_3) → M_3
  11. Line(B, O) → i
  12. Ray(O, B) → p
  13. Segment(O, B) → a_1
  14. Midpoint(a_1) → A
  15. Segment(E, O) → d_1
  16. Segment(H, G) → e_1
  17. Segment(G, O) → f_1
  18. Intersect(d_1, f_1) → I
  19. Polygon(D, G, I, F) → poly1_1, d_2, g_1, i_1, f_2
  20. Polygon(J, E, I, F) → poly3, j_1, e_2, i_2, f_3
  21. Polygon(J, B, H, E) → poly4, j_2, b_2, h_1, e_3
  22. Intersect(b_2, j_2) → K
  23. Polygon(K, D, F, J) → poly5, k_1, d_3, f_4, j_3
  24. Intersect(b_2, j_2) → L
  25. Segment(L, I) → l_1
  26. Segment(E, O) → m_1
  27. Midpoint(E, B) → N
  28. CurveCartesian(x(O + (cos(i) * u) + (sin(i) * v)), y(O + (cos(i) * u) + (sin(i) * v)), i, 0, 6.28319) → d

AI Drawing Prompt Reference

Draw a spinning cube optical illusion from a fixed 3D viewpoint, where the faces of the cube appear to rotate smoothly. Start by creating three vectors u, v, w from point C, then draw line segments a from C1 to the origin O and c from O to C2. Next, draw polygons poly1 and poly2. Use midpoints and segments to construct other key objects like M1, M2, M3, etc. Finally, use the CurveCartesian command to generate parameter-dependent curves, simulating the cube's rotation effect.
The prompt above was compiled from the original drawing commands and is for reference only.