# Spirograph Maker (On Scratch.mit.edu)

342

1

## Introduction: Spirograph Maker (On Scratch.mit.edu)

This will allow you to make amazing and mesmerizing spiral patterns!

You'll need a free scratch account.

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Create a Sprite

Make a sprite by clicking on the "create sprite" button. Then click the paintbrush and make a dot as close to the center of your screen as possible. This will act as your pen tip

## Step 2: Add Pen Tools

press the "add blocks" button and press the "pen" option

## Step 3: Add the Code

Add the following code:

When flag clicked

set "steps" to 1 (create a variable called "steps")

set "rotation" to 1 (create a variable called "rotation")

erase all

pen down

ask "Enter a 'steps' Number (1 - 15)" and wait

set steps add to [answer] (create a "steps add" variable)

ask "Enter a 'rotation' Number (40 - 100)" and wait

set rot add to [answer] (create a "rot add" variable)

repeat 100000:

change pen color by 1

move [steps / 100] steps

turn clockwise [rotation] degrees

change steps by [steps add]

change rotation by [rot add]

## Step 4: Set to Turbo Mode

hold shift and click the green flag

## Step 5: Press the Flag

press the flag and enter any value between 1 and 15. You can play around with this to get different types of spirals. You can try to make an expression to predict the outcome depending on the variables you enter

## Step 6: Keep Going

enter any value between 40 and 100. You can play around with this to get different types of spirals. You can try to make an expression to predict the outcome depending on the variables you enter

## Step 7: Watch the Spiral Happen!

This will create a mesmerizing design. You can even print it out!

Participated in the
Made with Math Contest

1 102
7 432
21 2.4K