NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Hour of Code: Geometric Spirograph & Polygon Art

📌 What you will learn

Connect math and coding by using the Pen extension and 360 ÷ sides to draw regular polygons and rotating mandalas.

60-Minute Pacing Plan (Grades 4–8)

Connect math and coding by using the Pen extension and 360 ÷ sides to draw regular polygons and rotating mandalas.

  • 10 min: Enable Pen extension and draw a square (repeat 4, turn 90)
  • 20 min: Test triangles (120°), pentagons (72°), hexagons (60°)
  • 20 min: Wrap inside an outer loop that turns 15° and shifts pen color
  • 10 min: Compare patterns across the class

Classroom Tips & Next Steps

Encourage students to click the green flag after every 2–3 blocks. If a student gets stuck, ask them what they expected to happen and which block ran right before the surprise.

All 15 Hour of Code Plans Browse more 1-hour Scratch activities. Learn more → Grade-Level Curriculum Guides (K–12) Continue beyond Hour of Code by grade level. Learn more → Interactive Scratch Labs Demonstrate coordinates, angles, logic, and lists live on your projector. Learn more →

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.