Back to Pattern Factory

Pattern Machine

Pattern Machine

Adjust the controls to create patterns with loops

Shape
Color

What you just learned

You just used a loop — one of the most powerful ideas in programming. Instead of drawing 12 shapes by hand, you gave one instruction and told the computer to repeat it. Every time you see a pattern in nature or design, there's probably a loop behind it.