国产日韩欧美一区二区三区综合,日本黄色免费在线,国产精品麻豆欧美日韩ww,色综合狠狠操

極客小將

您現(xiàn)在的位置是:首頁(yè) » scratch編程資訊

資訊內(nèi)容

【Scratch擴(kuò)展】神奇的圖形繪制

極客小將2021-04-10-
Super Spirals Just like circles, spirals go around and around. The difference is that with a ci

Super Spirals

Just like circles, spirals go around and around. The difference is that with a circle, the radius always stays the same but in a spiral the radius keeps growing (or shrinking if you prefer). We looked at two ways to make a spiral using Scratch. The first way is very similar to the program used in?Going in Circles. The main difference is that in the repeat you change the size of the shape using the "change size by" command. In our code we used the number "-1" -? the negative number makes the shape get smaller by 1% each time. You can also use a positive number and make the shape get bigger each time.

upload/article/images/2021-04-10/e8116be9f888abe85fd7cf27a41fd28c.jpg

You might like to play around with Colour Gradients顏色漸變 for this project. A colour gradient is a gradual change from one colour to another and gives the art work a feeling of depth. To create a gradient, draw a shape then select the paint bucket tool. Just below the bucket, click on one of the pictures showing a gradual change from black to white. Then pick two colours from the palette. Finally, click on a region of the picture that you want to fill with the gradient. Also don't forget to play with the position of the center of the costume.

upload/article/images/2021-04-10/0508dd02bb93567a9457f9b84feeaf0d.jpg

upload/article/images/2021-04-10/fa492ed23200bc3c150885624ea0e430.jpg

upload/article/images/2021-04-10/25b36c57fb2cb693ac63414d2afa56a0.jpg

upload/article/images/2021-04-10/0d905bad4f87b609917ef50130b07bfa.jpg

Another way to make a spiral is to use the Pen commands in Scratch. You can draw any shape, for example a triangle or a square by using the "pen down", "turn" and "move" commands. To turn this into a spiral, you need to change the distance you move each time you draw a side of the shape. To do this, we use a variable which we called length. The variable is initially set to a small size like 3 and on each repeat we increase the size of the variable using the "change [variable]" command. Play around with how much the length changes each time and see what this does to the spiral.?

upload/article/images/2021-04-10/854bfb103b0a1ab39412a5a816859294.jpg

upload/article/images/2021-04-10/e7a468e5b32baaed7c5c56ccb1bcf570.jpg


upload/article/images/2021-04-10/e6a54f4e1c8de634aff728f1453adac0.jpg

upload/article/images/2021-04-10/016248cacad73425ddd39be72a458b9e.jpg

You can also play around with how much you turn in each repeat. In the picture below, the left side of the picture turns 120 degrees - this gives us a triangular spiral. The right side of the picture turns 121 degrees each repeat. See what a difference this little change makes? Now it looks like you are drawing curves using straight lines.?

upload/article/images/2021-04-10/252689ca11f87907dbc81afb71e059d3.jpg

Here are some examples that the students created:
This one uses a random number for the line width:?

upload/article/images/2021-04-10/7ec148dd595fa8b7ff75677a036ccbc0.jpg
This one draws two spirals:

upload/article/images/2021-04-10/72597d80edc9b30f7caf21a467506b78.jpg

upload/article/images/2021-04-10/16352b7d685ffe4b549f00cfed1b268e.jpg

This one changes the pen color by 50:?

upload/article/images/2021-04-10/6ce098696112fbd060900bcdff5dbad4.jpg

upload/article/images/2021-04-10/f236feb73e71d401740c2043154fda48.jpg

聲明:本文章由網(wǎng)友投稿作為教育分享用途,如有侵權(quán)原作者可通過(guò)郵件及時(shí)和我們聯(lián)系刪除

預(yù)約試聽(tīng)課

已有385人預(yù)約都是免費(fèi)的,你也試試吧...

主站蜘蛛池模板: 垣曲县| 获嘉县| 奉贤区| 略阳县| 岳池县| 靖安县| 永靖县| 晋江市| 建阳市| 托克逊县| 彭泽县| 常熟市| 九龙县| 应城市| 屯昌县| 保靖县| 平山县| 博罗县| 黑山县| 西峡县| 武功县| 河曲县| 中超| 朔州市| 曲阜市| 双峰县| 阿克陶县| 诏安县| 泽州县| 五原县| 汝南县| 河西区| 沅江市| 织金县| 江西省| 双桥区| 唐海县| 南开区| 广灵县| 张家港市| 邹城市|