Hour of Code: Frozen Fractals Lesson Plan

Overview

In this code activity, students use the Turtle module in the Blockly visual programing language or Python programming language to learn about computational thinking, programming and geometry. Students are introduced to computational thinking concepts, including control structures such as loops which control the flow of a program.

The activity is structured as sequence of interactive notes and questions that students are challenged to answer. Students are introduced to the turtle, which draws lines and shapes on the computer screen. As students learn how to manipulate the turtle, drawing lines, changing angles and drawing shapes, they are challenged to draw snowflakes of increasing complexity.

This activity would work well in a maths class as a practical application of angles and angle calculations, or a science class investigating the formation and geometry of snowflakes.


Learning objectives

Students will:

  • learn how to draw by moving a turtle forwards on the screen
  • learn about angles and how to turn the turtle
  • learn change the colour and thickness of lines drawn by the turtle
  • learn about loops/iteration to repeat instructions
  • do angle calculations to draw lines around a point
  • use logic and problem solving skills to answer simple questions

Extended activities

Dive deeper into the science of snowflake formation

Investigate other examples of maths in nature

What do snowflakes, sunflowers and shells have in common? They're all beautiful and have interesting mathematical properties! Read about lots more examples.

Register as a teacher for free!

Or pick one of our other fun activities. Suitable for Grades 3-12.

Monster Maker! (Blockly)

Use drag-and-drop blocks to write your own programs, learn about sequence and ordering, and create fun monster characters!

Start coding now!

Animal Classifier (Python)

Learn about the differences between animals, and how Biologists use programming to help them do science! You'll use the programming language Python to classify animals based on their characteristics.

Start coding now!

Is Eliza Human? (Python)

Use the programming language Python to build a friendly chatbot called "Eliza". Can she fool your friends into thinking she's a human?

Start coding now!

Flags of the World (Python Turtle)

Use the programming language Python and instruct a turtle to draw flags from around the world! How many countries do you know?

Start coding now!

Image Magic with Python

Use the programming language Python to make speedy changes to images. Make fun image editing programs and make your own image filter!

Start coding now!

Frozen Fractals (Python Turtle)

Use the programming language Python and instruct a turtle to draw fantastic snowflakes with code! Brrr, is it getting cold in here?

Start coding now!

Virtual Pet (Python micro:bit)

Get started with the BBC micro:bit. Use the Python programming language to make a pet that you can feed and play with! No micro:bit required.

Start coding now!

Virtual Pet (Blockly micro:bit)

Get started with the BBC micro:bit. Use friendly blocks to make a virtual pet that you can feed and play with! No micro:bit required.

Start coding now!

Hydrangea Danger (Blockly Turtle)

This activity is designed to introduce branching. Use the Blockly version of Python and its turtle module to draw and colour hydrangea flowers!

Start coding now!

Emoticon Madness (Python)

Ever wanted to create your own emoticon? Use the programming language Python to explore emoticons and text manipulation.

Start coding now!

Space (Blockly Python)

Use the visual programming language Blockly to investigate space and reach for the stars.

Start coding now!

Disease Epidemic (Python)

Use the programming language Python to model a disease outbreak. Can you solve the curious case of the glowing nose?

Start coding now!

The Dark Tunnel (Python)

Use the programming language Python to create a simple game (or MUD). Can you find your way through the dark tunnel?

Start coding now!