Dancing Pi

by Katyaschadha in Craft > Digital Graphics

890 Views, 3 Favorites, 0 Comments

Dancing Pi

image.jpg
Link- http://scratch.mit.edu/projects/102591184/#player

Scratch

image.jpg
First you must go onto scratch.mit.edu. Then if you have an account, log in. If not, sign up.

Create

image.jpg
image.jpg
Once you are signed in, you will see at the top right corner is the create button. Tap on this to create a new project.

Draw Your Characters

image.jpg
You will now go to the drawing area and paint a new Sprite that has he number 3. You will repeat this for the next 10 digits.

Code

image.jpg
image.jpg
You will now click in the script for the 3. You will right the following code- when flag clicked, go to x:0,y:0. The. Repeat 10. Inside this you will put show, then wait 0.1 sec and then put hide.

More Code

image.jpg
image.jpg
Next you will click on the dot Sprite and right the following code-
When flag clicked, hide, wait two seconds , repeat 10. Inside he repeat you will write show, wait 0.1 sec, hide. Then you will copy this code into all the others sprites except for the 3 that you already did.

Even More Code

image.jpg
image.jpg
image.jpg
image.jpg
Next you will go into each Sprite after the dot and change the wait right above the repeat by 2 seconds. Hen you will have it wait 2 sec, 4 sec, 6 sec, and so on.

Backdrop

image.jpg
Go into backdrops and click paint a new backdrop. Then use the fill to choose whatever color you want. Hen pick a different color and click on the paintbrush. Paint the words those are and then a bunch of dots after it.

More Backdrops

image.jpg
image.jpg
Now do another one just like it except with it saying he first 11 digits of. Hen make a new backdrop with the same background color. Then write pi on it.

Code for Backdrops

image.jpg
Go to scroll for the backdrops. Wrote when flag clicked switch backdrop to backdrop 1. Then wait 24 seconds, swish backdrop to backdrop 2, wait 1 sec, switch backdrop to backdrop 3, wait 1 sec, switch backdrop to backdrop 4.

Last Backdrop

image.jpg
Go back to backdrops and click paint new backdrop. Then use the text button to write the first 100 digits of pi.

Last Bit of Coding

image.jpg
Go back to he script and under the last bit put war 1 sec and then switch backdrop to backdrop 5.

Finished Product

Yay