当前位置:网站首页>[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
边栏推荐
- BSS 7230 航空内饰材料阻燃性能测试
- 35岁那年,我做了一个面临失业的决定
- 95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
- Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe
- HDU - 1260 tickets (linear DP)
- P2141 [noip2014 popularization group] abacus mental arithmetic test
- Go learning notes (2) basic types and statements (1)
- Rectification characteristics of fast recovery diode
- postgres timestamp转人眼时间字符串或者毫秒值
- May day C - most
猜你喜欢

Get started with mongodb

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

Ping error: unknown name or service

Data Lake (XV): spark and iceberg integrate write operations

FFA and ICGA angiography

BSS 7230 flame retardant performance test of aviation interior materials

MP4文件格式解析之结合实例分析

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

Wechat applet development beginner 1

Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
随机推荐
Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
Tools for debugging makefiles - tool for debugging makefiles
One click installation with fishros in blue bridge ROS
Laser slam learning (2d/3d, partial practice)
Is it safe for tongdaxin to buy funds?
Jisuan Ke - t3104
Data analysis series 3 σ Rule / eliminate outliers according to laida criterion
Traduction gratuite en un clic de plus de 300 pages de documents PDF
go time包常用函数
Kubectl 好用的命令行工具:oh-my-zsh 技巧和窍门
Basic learning of SQL Server -- creating databases and tables with code
Get started with mongodb
ping报错:未知的名称或服务
Robomaster visual tutorial (10) target prediction
FFA与ICGA造影
C - Fibonacci sequence again
Pypharm uses, and the third-party library has errors due to version problems
蓝桥ROS中使用fishros一键安装
用語雀寫文章了,功能真心强大!