美文网首页
scratch programming-画螺旋线draw spi

scratch programming-画螺旋线draw spi

作者: 思求彼得赵 | 来源:发表于2020-09-13 00:14 被阅读0次

    2020-09-13
    the spiral is a very beautiful shape in our natural world.


    draw a spiral in Scratch is not so difficult.

    • the first one is a simplified version.


      one spiral
    image.png

    the core statements are in the loop, and the most important statements are:


    image.png
    • the second one is work from other people who shared it.
      This project uses the pen to draw spirals. Click your mouse to draw a spiral.


      image.png

      these statements are to clear the screen.


      image.png
      draw a spiral function will be called in the loop.
      image.png
      you will find that this function is just like the first case.
      image.png

    ok, let's test the cases:
    https://scratch.mit.edu/projects/399996288
    https://scratch.mit.edu/projects/424965239

    相关文章

      网友评论

          本文标题:scratch programming-画螺旋线draw spi

          本文链接:https://www.haomeiwen.com/subject/bzngektx.html