Regular Star Polygon Construction and Dynamic Demonstration
Loading the math board and drawing, please wait…
This GeoGebra example demonstrates how to construct regular star polygons by equally dividing points on a circumcircle and connecting them with a fixed step size. Core mathematical concepts include regular polygons, greatest common divisor (GCD/HCF), modular arithmetic, equally spaced points on a circle, and the density and connectivity of star polygons. The construction uses Circle to create the circumcircle, Point to establish the initial vertex, Sequence to generate the vertex list, PolyLine to connect vertices in order, GCD to compute the greatest common divisor of the step size and vertex count, and Polygon to form the closed figure. Sliders (box1, box2, box3), text labels (text1, text2, text3), and opacity controls enable dynamic parameter adjustment. Suitable for high school geometry electives, university discrete mathematics, or computer graphics introductory courses, and ideal for classroom demonstrations and student exploration of star polygon construction rules.
GeoGebra Commands & Parameters
Circle((0, 0), 1) → cPoint(c) → ASequence((cos(arg(A) + i * 360 * ° / p), sin(arg(A) + i * 360 * ° / p)), i, 0, p - 1) → listVertexPolyLine(Sequence[(cos(arg(A) + i * q * 360 * ° / p), sin(arg(A) + i * q * 360 * ° / p)), i, 0, p]) → PolyLine1GCD(p, q) → hcfSequence(PolyLine[Sequence[(cos(arg(A) + j * 360 * ° / p + i * q * 360 * ° / p), sin(arg(A) + j * 360 * ° / p + i * q * 360 * ° / p)), i, 0, p / hcf]], j, 0, hcf - 1) → listPolyLineSequence(Polygon[Sequence[(cos(arg(A) + j * 360 * ° / p + i * q * 360 * ° / p), sin(arg(A) + j * 360 * ° / p + i * q * 360 * ° / p)), i, 0, p / hcf]], j, 0, hcf - 1) → listPolyPolygon(listVertex) → RegularPoly, , , , ,
AI Drawing Prompt Reference
Draw a regular polygon by equally dividing points on a circle and connecting them with a fixed step size to demonstrate star polygon construction, allowing dynamic adjustment of vertex count and step size via sliders to explore the density and connectivity of star polygons.
The prompt above was compiled from the original drawing commands and is for reference only.