Draw a seven-pointed star without inner lines. Use black lines on a white background.

Start in the center of the canvas, facing right. Let angle be 360 divided by 7. Turn left by angle first. This angle is about 51.43 degrees.

Then repeat these steps 7 times:

  1. Move forward by 50 steps.
  2. Turn left by 2 * angle (about 102.86 degrees).
  3. Move forward by 50 steps again.
  4. Turn right by angle (about 51.43 degrees).

star_7_points