Spirograph Maker (On Scratch.mit.edu)
by pohakurockstarYT in Circuits > Software
1497 Views, 2 Favorites, 0 Comments
Spirograph Maker (On Scratch.mit.edu)
This will allow you to make amazing and mesmerizing spiral patterns!
You'll need a free scratch account.
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
Add Pen Tools
press the "add blocks" button and press the "pen" option
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]
Set to Turbo Mode
hold shift and click the green flag
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
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
Watch the Spiral Happen!
This will create a mesmerizing design. You can even print it out!