美文网首页
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

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

  • python-第十三课-函数实例-万花筒

    编写万花筒程序 本节中的万花筒通过彩色随机螺旋线来实现。我们首先定义一个函数draw(),这个函数用来绘制一个螺旋...

  • ImageDraw

    画直线 Draw a line, or a connected sequence of line segments...

  • iOS开发中的AOP利器 - Aspects 源码分析(一

    AOP简介 AOP全名为 Aspect Oriented Programming- 面向切面编程。AOP是OOP(...

  • 画流程图利器PlantUML+vscode

    写文档或者blog,遇到画图实在是花时间,通常我都是用draw.io来画流程图,draw.io已经类似visio了...

  • SPI接口

    SPI接口扫盲 SPI定义/SPI时序(CPHA CPOL) SPI详解 SPI总线协议

  • OpenGL的纹理坐标及旋转问题

    OpenGL的纹理坐标与旋转显示 贴一张我自己用draw.io画的图,顺便推荐一下这个在线画图的网站 :draw....

  • 2019-10-09画荷花

    10月9日 星期三 晴 今天下午我们上童画课,我们画的是荷花。 首先用像蜡笔一样的水彩笔,在圆圈里面画螺旋线,画完...

  • Scratch-画迷宫

    Scratch-画迷宫 [定义] 指的是充满复杂通道,很难找到从其内部到达入口或从入口到达中心的道路,道路复杂难辨...

  • 画太阳(Scratch编程)

    今天给大家分享如何用Scratch的画笔功能画太阳 分为三个步骤 1, 设置画笔 设置画笔的粗细、颜色和亮度 2...

网友评论

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

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