- Software name:
- Scratch 3.0 offline Edition (children programming software) offline editor v3.6.0 Chinese free installation version
- Software size:
- Update time:
- 2020-02-21Download now
1. Open our programming software scratch 3.0. And choose a character, here we choose a very cute penguin.
2. Initialization program,Set the penguin size to 50, andFacing 90 degrees。
3、Move the penguin to the centerSo the graphics we’ve drawn are right in the middle of the stage.
4. Let’s move our little penguin 120 steps, which is what we’re going to drawThe radius is 120You can also change it to the length you want. The higher the value, the larger the drawing. And then clone, that is, to clone a little penguin,Turn right 18 degrees.
5. This code,If we do it one more time, we can see that two penguins have been copied。 The difference between the two penguins is 18 degrees. Increase the color effect by 20 to change the color of each penguin.
6. Because a circle is 360 degrees, here we copy one penguin at a time18 degrees to the rightSo we’re going to make a circle,You have to repeat 360 / 18 = 20 times.
7. Here is the completed code. The number of moving steps can be changed to the number you need. Degrees can also be modified.The number of repetitions needs to be modified according to your degree.
The above is scratch round clone Penguin skills, I hope you like, please continue to pay attention to developeppaer.