Spirograph Maker (On Scratch.mit.edu)

by pohakurockstarYT in Circuits > Software

1497 Views, 2 Favorites, 0 Comments

Spirograph Maker (On Scratch.mit.edu)

Screen Shot 2019-11-06 at 2.36.49 PM.png

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

You'll need a free scratch account.

Create a Sprite

Screen Shot 2019-11-06 at 2.35.14 PM.png

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

Add Pen Tools

Screen Shot 2019-11-06 at 2.34.20 PM.png

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

Add the Code

Screen Shot 2019-11-06 at 2.35.56 PM.png

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]

Set to Turbo Mode

Screen Shot 2019-11-06 at 2.36.19 PM.png

hold shift and click the green flag

Press the Flag

Screen Shot 2019-11-06 at 2.36.29 PM.png

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

Keep Going

Screen Shot 2019-11-06 at 2.36.39 PM.png

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

Watch the Spiral Happen!

Screen Shot 2019-11-06 at 2.36.49 PM.png

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