当前位置:网站首页>[programming problem] [scratch Level 2] March 2019 draw a square spiral
[programming problem] [scratch Level 2] March 2019 draw a square spiral
2022-07-07 23:56:00 【Youth programming competition communication】
Draw a square spiral
Square spiral is a common spiral shape , Its characteristic is that the length of continuous line segments increases uniformly , For example, the length of the first line segment is 5, The second length is 10, The third length is 15, And so on .
Now please write a program to realize the pattern effect in the figure below :

When the green flag is clicked , Starting from the center of the stage , Use the brush tool to draw a square spiral .
Starting point X、y The coordinates are 0, The length of the first side is 5, The length of each side in the future increases in turn 5, Continuous painting 50 Such an edge .
1. Design ideas and implementation
(1) Role analysis
- role : According to the title , Keep the kitten role unchanged .
(2) Background analysis
- background : Default colorless background .
(3) Introduction to the building blocks used
a. Sports

- The character moves the specified number of steps , A positive number is forward , Negative numbers are backward .

- Rotate the character to the left by the specified angle
边栏推荐
- aws-aws help报错
- 【编程题】【Scratch二级】2019.03 垃圾分类
- 正畸注意事项(持续更新中)
- QT and OpenGL: load 3D models using the open asset import library (assimp)
- 快速回复二极管整流特性
- Go learning notes (1) environment installation and hello world
- Aitm3.0005 smoke toxicity test
- Redis caching tool class, worth owning~
- The function is really powerful!
- Les mots ont été écrits, la fonction est vraiment puissante!
猜你喜欢

QT and OpenGL: load 3D models using the open asset import library (assimp)

Introduction to programming hardware

Pypharm uses, and the third-party library has errors due to version problems

Automated testing: robot framework is a practical skill that 90% of people want to know

95. (cesium chapter) cesium dynamic monomer-3d building (building)

一个测试工程师的7年感悟 ---- 致在一路独行的你(别放弃)

蓝桥ROS中使用fishros一键安装

【编程题】【Scratch二级】2019.12 飞翔的小鸟

UIC564-2 附录4 –阻燃防火测试:火焰的扩散

Go learning notes (2) basic types and statements (1)
随机推荐
HDU - 1260 tickets (linear DP)
At the age of 35, I made a decision to face unemployment
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
【路径规划】使用垂距限值法与贝塞尔优化A星路径
80%的人答错,苹果logo上的叶子到底朝左还是朝右?
Restricted linear table
Connect diodes in series to improve voltage withstand
Resolve the URL of token
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
Chisel tutorial - 01 Introduction to Scala
Apng2gif solutions to various problems
Go time package common functions
C language learning
Teach you to make a custom form label by hand
Where are you going
webflux - webclient Connect reset by peer Error
ROS从入门到精通(九) 可视化仿真初体验之TurtleBot3
Aitm3.0005 smoke toxicity test
One click free translation of more than 300 pages of PDF documents
Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe