Drawing Various Stars in Scratch: Five, Six, Seven, and Eight-Pointed Stars

Five-Pointed Star

The sum of interior angles at the vertices of a five-pointed star is 180(n-4), where n=5, resulting in 180 degrees.
For a regular five-pointed star, each vertex angle is 180/5=36 degrees. To draw it, you can follow these steps:
- Draw a line.
- Rotate it by 180 – 36 = 144 degrees.
- Repeat this process five times.
Seven-Pointed Star

The sum of interior angles at the vertices of a seven-pointed star is 180(n-6), where n=7, resulting in 180 degrees.
For a regular seven-pointed star, each vertex angle is (180/7) degrees. To draw it, follow these steps:
- Draw a line.
- Rotate it by 180 – (180/7) degrees.
- Repeat this process seven times.
Eight-Pointed Star

The sum of interior angles at the vertices of an eight-pointed star is 180(n-6), where n=8, resulting in 360 degrees.
For a regular eight-pointed star, each vertex angle is 180/8=45 degrees. To draw it, follow these steps:
- Draw a line.
- Rotate it by 180 – 45 = 135 degrees.
- Repeat this process eight times.
Six-Pointed Star

A six-pointed star cannot be drawn continuously. You can create one by shifting two regular triangles.
- Draw a line.
- Rotate it by 130 degrees.
- Repeat this process 3 times.
- Move 1/3 of the height of the triangle
- Draw another triangle
Drawing Stars Randomly
The following is a program that draws the created stars in random positions, angles, and colors.

Discussion
New Comments
No comments yet. Be the first one!